summaryrefslogtreecommitdiffstats
path: root/sys/net/route.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2008-08-07 21:32:08 +0000
committerclaudio <claudio@openbsd.org>2008-08-07 21:32:08 +0000
commitc888e3abb102effc652f68a1faa4eb10d0cde01c (patch)
treea543dfb27c70aeb4fdee57a0c1ce72ad760bb2c1 /sys/net/route.c
parentUse %sys_tick to generate clock interrupts on systems that have it. (diff)
downloadwireguard-openbsd-c888e3abb102effc652f68a1faa4eb10d0cde01c.tar.xz
wireguard-openbsd-c888e3abb102effc652f68a1faa4eb10d0cde01c.zip
Remove workaround used for the 4.4 release. More route prio stuff is comming
soon.
Diffstat (limited to 'sys/net/route.c')
-rw-r--r--sys/net/route.c5
1 files changed, 1 insertions, 4 deletions
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);