summaryrefslogtreecommitdiffstats
path: root/sys/net/route.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2016-04-27 14:47:27 +0000
committermpi <mpi@openbsd.org>2016-04-27 14:47:27 +0000
commita9ab522155adf2072e690c9c14afac1b441a2a6b (patch)
tree407792cc2d248f7b6462faf71f3b45a0739dfb50 /sys/net/route.c
parentcidr permitted for {allow,deny}users; from lars nooden (diff)
downloadwireguard-openbsd-a9ab522155adf2072e690c9c14afac1b441a2a6b.tar.xz
wireguard-openbsd-a9ab522155adf2072e690c9c14afac1b441a2a6b.zip
Remove unused arguments from rt_checkgate().
Since the rtalloc(9) rewrite no route lookup is done in this function so there's no need for a destination or a rtable ID.
Diffstat (limited to 'sys/net/route.c')
-rw-r--r--sys/net/route.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/net/route.c b/sys/net/route.c
index b87ec412a2b..3517ef5c679 100644
--- a/sys/net/route.c
+++ b/sys/net/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.298 2016/03/26 21:56:04 mpi Exp $ */
+/* $OpenBSD: route.c,v 1.299 2016/04/27 14:47:27 mpi Exp $ */
/* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */
/*
@@ -1168,8 +1168,7 @@ rt_setgate(struct rtentry *rt, struct sockaddr *gate)
}
int
-rt_checkgate(struct ifnet *ifp, struct rtentry *rt, struct sockaddr *dst,
- unsigned int rtableid, struct rtentry **rtp)
+rt_checkgate(struct rtentry *rt, struct rtentry **rtp)
{
struct rtentry *rt0;