diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-22 03:07:52 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-22 03:07:52 +0000 |
commit | 33cf526aaf12858b64ef09f6faa8ea0dfb656d3f (patch) | |
tree | 34cda4d73d4beb90e7d8b86c1def2b9d4eefa79f /usr.sbin/bgpd/bgpd.h | |
parent | 5b03280a870e2bd599f4b05fdf43cf3a2f8f829c (diff) |
an RTM_IFINFO message can mean a lot. it does not necessarily mean that
the status of the interface in terms of our nexthop validation changed;
it might be something like a speed change that we don't care about.
save the decided state for nexthop verificartion in struct kif, and only
walk through the attached (connected) routes & report upwards if the state
actually changed.
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 0bda2ac88ce..cd361114248 100644 --- a/usr.sbin/bgpd/bgpd.h +++ b/usr.sbin/bgpd/bgpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.h,v 1.73 2004/01/18 19:15:00 henning Exp $ */ +/* $OpenBSD: bgpd.h,v 1.74 2004/01/22 03:07:51 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -249,6 +249,7 @@ struct kif { u_int8_t media_type; u_int8_t link_state; u_long baudrate; + u_int8_t nh_reachable; /* for nexthop verification */ }; struct session_up { |