diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-05-20 03:03:54 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-05-20 03:03:54 +0200 |
commit | 0bad48516f4caf5223cbfabcbdecf94bb70ffc8e (patch) | |
tree | 137aea80fa4e6f0facae6b394344027dd9e6540b /ospfd/ospfd.h | |
parent | Ensure connected nexthop entry for the peer is freed when the peer is freed. (diff) | |
download | frr-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.h | 3 |
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; |