summaryrefslogtreecommitdiffstats
path: root/ospfd/ospfd.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-05-20 03:03:54 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-05-20 03:03:54 +0200
commit0bad48516f4caf5223cbfabcbdecf94bb70ffc8e (patch)
tree137aea80fa4e6f0facae6b394344027dd9e6540b /ospfd/ospfd.h
parentEnsure connected nexthop entry for the peer is freed when the peer is freed. (diff)
downloadfrr-0bad48516f4caf5223cbfabcbdecf94bb70ffc8e.tar.xz
frr-0bad48516f4caf5223cbfabcbdecf94bb70ffc8e.zip
Add a running flag in ospf instance.
set/reset it on 'router ospf [<instance>]'/'no router ospf [<instance>]'
Diffstat (limited to 'ospfd/ospfd.h')
-rw-r--r--ospfd/ospfd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ospfd/ospfd.h b/ospfd/ospfd.h
index 7cbd85786..d3dba184a 100644
--- a/ospfd/ospfd.h
+++ b/ospfd/ospfd.h
@@ -131,6 +131,9 @@ struct ospf_redist
/* OSPF instance structure. */
struct ospf
{
+ /* OSPF's running state based on the '[no] router ospf [<instance>]' config. */
+ u_char oi_running;
+
/* OSPF instance ID */
u_short instance;