diff options
| author | Fredi Raspall <fredi@voltanet.io> | 2021-05-27 21:39:06 +0200 |
|---|---|---|
| committer | Emanuele Di Pascale <emanuele@voltanet.io> | 2021-09-28 10:20:58 +0200 |
| commit | 2110d03e061be4285b212dfde9de6726b96b2c99 (patch) | |
| tree | 7beb2a46b591c42a1da2d962b8d433e80f1ebab3 | |
| parent | 6f609c4980e2ae057476589374ee9bb66624fde0 (diff) | |
ospfd: remove unused enum case for state of SR ..
In addition, make the relationship among several macros more
explicit.
Signed-off-by: Fredi Raspall <fredi@voltanet.io>
| -rw-r--r-- | ospfd/ospf_sr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_sr.h b/ospfd/ospf_sr.h index d706d206fb..a5a6d38330 100644 --- a/ospfd/ospf_sr.h +++ b/ospfd/ospf_sr.h @@ -221,7 +221,7 @@ struct sr_local_block { enum sid_type { PREF_SID, LOCAL_SID, ADJ_SID, LAN_ADJ_SID }; /* Status of Segment Routing: Off (Disable), On (Enable), (Up) Started */ -enum sr_status { SR_OFF, SR_ON, SR_UP, SR_DOWN }; +enum sr_status { SR_OFF, SR_ON, SR_UP }; /* Structure aggregating all OSPF Segment Routing information for the node */ struct ospf_sr_db { |
