Remove workaround used for the 4.4 release. More route prio stuff is comming
authorclaudio <claudio@openbsd.org>
Thu, 7 Aug 2008 21:32:08 +0000 (21:32 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 7 Aug 2008 21:32:08 +0000 (21:32 +0000)
soon.

sys/net/route.c
sys/net/rtsock.c

index ce1358b..b267919 100644 (file)
@@ -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);
index 407fe72..745678c 100644 (file)
@@ -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);