summaryrefslogtreecommitdiff
path: root/sys/net/route.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2008-08-01 05:08:09 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2008-08-01 05:08:09 +0000
commit978e1eff49cff9b880d86b7c96a72dc391c5b1e3 (patch)
tree7e1b7962cbf209450b5c3ac2dcfcd3dc648f4097 /sys/net/route.c
parent35361b18084e64746ec2cdcf45c4f6fc6ca3d481 (diff)
force route priority to RTP_DEFAULT unconditionally, effectively disabling
route prios. playing safe for 4.4-release, as not all parts of the system deal correctly with route prios yet. ok claudio
Diffstat (limited to 'sys/net/route.c')
-rw-r--r--sys/net/route.c5
1 files changed, 4 insertions, 1 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);