diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2005-11-25 13:45:03 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2005-11-25 13:45:03 +0000 |
commit | 4115ee1e7a003ec8c26c17a5957895349b137054 (patch) | |
tree | 3902e31eb3aec4245ea2add71add2678ca41722d /sys/net/route.h | |
parent | 6b0088d6a406e956151371889f75860d1f8e6de3 (diff) |
move the code to delete routes having a specific interface as output
when the interface is deleted to a function in route.c, and replace
the copies of that code by calls to that function
from basel almost-hackathon
Diffstat (limited to 'sys/net/route.h')
-rw-r--r-- | sys/net/route.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/route.h b/sys/net/route.h index 1b3abd8156c..dd15a362b2f 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -1,4 +1,4 @@ -/* $OpenBSD: route.h,v 1.31 2005/06/25 19:25:06 henning Exp $ */ +/* $OpenBSD: route.h,v 1.32 2005/11/25 13:45:02 henning Exp $ */ /* $NetBSD: route.h,v 1.9 1996/02/13 22:00:49 christos Exp $ */ /* @@ -346,6 +346,7 @@ int rtrequest(int, struct sockaddr *, struct sockaddr *, struct sockaddr *, int, struct rtentry **); int rtrequest1(int, struct rt_addrinfo *, struct rtentry **); +void rt_if_remove(struct ifnet *); #endif /* _KERNEL */ #endif /* _NET_ROUTE_H_ */ |