diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-01-06 22:00:32 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-01-06 22:00:32 +0000 |
commit | 072585e7c6770459e6558fe5938609cddfdc92e5 (patch) | |
tree | 3149225ef48084bb441cf941c470f039d4b89762 /usr.sbin | |
parent | 4910ca83d06f0c6b90758db1cc6b3ef558c30833 (diff) |
Remove workaround added in rev 1.63. The real issue has been found and
fixed and the bandaid is no longer needed. See rev. 1.26 of sys/net/radix.c
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ospfd/kroute.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.sbin/ospfd/kroute.c b/usr.sbin/ospfd/kroute.c index 8ba2f1b8e0c..4d280fa1f4e 100644 --- a/usr.sbin/ospfd/kroute.c +++ b/usr.sbin/ospfd/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.64 2009/01/01 20:40:10 claudio Exp $ */ +/* $OpenBSD: kroute.c,v 1.65 2009/01/06 22:00:31 claudio Exp $ */ /* * Copyright (c) 2004 Esben Norby <norby@openbsd.org> @@ -1016,7 +1016,6 @@ if_announce(void *msg) int send_rtmsg(int fd, int action, struct kroute *kroute) { - struct kroute_node *rn; struct iovec iov[5]; struct rt_msghdr hdr; struct sockaddr_in prefix; @@ -1029,11 +1028,6 @@ send_rtmsg(int fd, int action, struct kroute *kroute) if (kr_state.fib_sync == 0) return (0); - /* XXX workaround for bug with CLONING routes */ - rn = kroute_find(kroute->prefix.s_addr, kroute->prefixlen, RTP_ANY); - if (rn && rn->r.priority < RTP_STATIC) - return (0); - /* initialize header */ bzero(&hdr, sizeof(hdr)); hdr.rtm_version = RTM_VERSION; |