summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/net/route.c5
-rw-r--r--sys/net/rtsock.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/sys/net/route.c b/sys/net/route.c
index cd73b910fe3..ce1358bd2df 100644
--- a/sys/net/route.c
+++ b/sys/net/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.94 2008/07/28 13:25:10 claudio Exp $ */
+/* $OpenBSD: route.c,v 1.95 2008/08/01 05:08:07 henning Exp $ */
/* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */
/*
@@ -721,6 +721,9 @@ 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 19bb0ef661a..407fe72f1f5 100644
--- a/sys/net/rtsock.c
+++ b/sys/net/rtsock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtsock.c,v 1.74 2008/07/28 19:38:07 claudio Exp $ */
+/* $OpenBSD: rtsock.c,v 1.75 2008/08/01 05:08:08 henning Exp $ */
/* $NetBSD: rtsock.c,v 1.18 1996/03/29 00:32:10 cgd Exp $ */
/*
@@ -268,6 +268,9 @@ 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);