summaryrefslogtreecommitdiffstats
path: root/ospf6d
diff options
context:
space:
mode:
authorAndrew Cooks <acooks.at.bda@gmail.com>2024-06-06 00:18:27 +0200
committerAndrew Cooks <acooks.at.bda@gmail.com>2024-09-16 10:38:16 +0200
commit1290a06f5fcae26bdf941f0aedda20150ab01ba3 (patch)
tree3f63d4676cf55a8f8e14deedd1e0d627cfd8dc09 /ospf6d
parentospf6d: add space between multi-line macros (diff)
downloadfrr-1290a06f5fcae26bdf941f0aedda20150ab01ba3.tar.xz
frr-1290a06f5fcae26bdf941f0aedda20150ab01ba3.zip
ospf6d: cleanup Router-LSAs Options bit order
Signed-off-by: Andrew Cooks <acooks.at.bda@gmail.com>
Diffstat (limited to 'ospf6d')
-rw-r--r--ospf6d/ospf6_proto.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ospf6d/ospf6_proto.h b/ospf6d/ospf6_proto.h
index 4307ee3c6..645a40878 100644
--- a/ospf6d/ospf6_proto.h
+++ b/ospf6d/ospf6_proto.h
@@ -16,11 +16,12 @@
#define ALLSPFROUTERS6 "ff02::5"
#define ALLDROUTERS6 "ff02::6"
-#define OSPF6_ROUTER_BIT_W (1 << 3)
+/* RFC 5340 A.4.3 Router-LSAs Options field */
+#define OSPF6_ROUTER_BIT_NT (1 << 4)
+#define OSPF6_ROUTER_BIT_W (1 << 3) /* DEPRECATED */
#define OSPF6_ROUTER_BIT_V (1 << 2)
#define OSPF6_ROUTER_BIT_E (1 << 1)
#define OSPF6_ROUTER_BIT_B (1 << 0)
-#define OSPF6_ROUTER_BIT_NT (1 << 4)
/* OSPF options */