From: claudio Date: Thu, 7 Aug 2008 21:32:08 +0000 (+0000) Subject: Remove workaround used for the 4.4 release. More route prio stuff is comming X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c888e3abb102effc652f68a1faa4eb10d0cde01c;p=openbsd Remove workaround used for the 4.4 release. More route prio stuff is comming soon. --- diff --git a/sys/net/route.c b/sys/net/route.c index ce1358bd2df..b2679198127 100644 --- a/sys/net/route.c +++ b/sys/net/route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route.c,v 1.95 2008/08/01 05:08:07 henning Exp $ */ +/* $OpenBSD: route.c,v 1.96 2008/08/07 21:32:08 claudio Exp $ */ /* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */ /* @@ -721,9 +721,6 @@ rtrequest1(int req, struct rt_addrinfo *info, u_int8_t prio, struct sockaddr_rtlabel *sa_rl; #define senderr(x) { error = x ; goto bad; } - /* XXX hack for 4.4-release */ - prio = RTP_DEFAULT; - if ((rnh = rt_gettable(info->rti_info[RTAX_DST]->sa_family, tableid)) == NULL) senderr(EAFNOSUPPORT); diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c index 407fe72f1f5..745678ca20b 100644 --- a/sys/net/rtsock.c +++ b/sys/net/rtsock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtsock.c,v 1.75 2008/08/01 05:08:08 henning Exp $ */ +/* $OpenBSD: rtsock.c,v 1.76 2008/08/07 21:32:08 claudio Exp $ */ /* $NetBSD: rtsock.c,v 1.18 1996/03/29 00:32:10 cgd Exp $ */ /* @@ -268,9 +268,6 @@ route_output(struct mbuf *m, ...) else prio = RTP_DEFAULT; - /* XXX hack for 4.4-release */ - prio = RTP_DEFAULT; - bzero(&info, sizeof(info)); info.rti_addrs = rtm->rtm_addrs; rt_xaddrs(rtm->rtm_hdrlen + (caddr_t)rtm, len + (caddr_t)rtm, &info);