diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2015-12-02 16:49:59 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2015-12-02 16:49:59 +0000 |
commit | 76d5742a5f3b666bb5c4de6a62be8c9ccfbb6f5e (patch) | |
tree | ff20172a4cec40f10d371a3521a110e50f20e6f8 /sys/net/route.c | |
parent | a4976ec7da132c15d6a1a973e7ea553a67ce62f1 (diff) |
rtable_delete() does not use its prio parameter, so delete it.
OK mpi@
Diffstat (limited to 'sys/net/route.c')
-rw-r--r-- | sys/net/route.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/route.c b/sys/net/route.c index 97f47eb9f91..99a908064b1 100644 --- a/sys/net/route.c +++ b/sys/net/route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route.c,v 1.282 2015/12/02 16:35:52 bluhm Exp $ */ +/* $OpenBSD: route.c,v 1.283 2015/12/02 16:49:58 bluhm Exp $ */ /* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */ /* @@ -832,7 +832,7 @@ rtrequest_delete(struct rt_addrinfo *info, u_int8_t prio, struct ifnet *ifp, } error = rtable_delete(tableid, info->rti_info[RTAX_DST], - info->rti_info[RTAX_NETMASK], prio, rt); + info->rti_info[RTAX_NETMASK], rt); if (error != 0) { rtfree(rt); return (ESRCH); |