diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-17 21:06:56 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-17 21:06:56 +0000 |
commit | fbe5677342c4a3c49383838fe30f8d22e6be224c (patch) | |
tree | 0559f6be79c2f7567d09468a56ba24af422380d0 /usr.sbin/bgpd/bgpd.h | |
parent | 4c5df9e882123bd2707fbaa7fae0703d1364cbdd (diff) |
keep track of interface link state and invalidate connected routes depending
on the interface in question if it has no link
now, if you pull the network cable all nexthops beeing in a connected
network on this interface get invalidated nicely.
ok claudio@
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r-- | usr.sbin/bgpd/bgpd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h index 419d900cea9..9ed29c08ff5 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.71 2004/01/17 19:35:36 claudio Exp $ */ +/* $OpenBSD: bgpd.h,v 1.72 2004/01/17 21:06:55 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -246,6 +246,7 @@ struct kif { u_short ifindex; int flags; char ifname[IFNAMSIZ]; + u_int8_t link_state; }; struct session_up { |