]> The Tcpdump Group git mirrors - tcpdump/commitdiff
OSPF: Update more router properties bits. [skip ci]
authorDenis Ovsienko <[email protected]>
Sat, 23 Jan 2021 14:18:22 +0000 (14:18 +0000)
committerDenis Ovsienko <[email protected]>
Sat, 23 Jan 2021 14:18:22 +0000 (14:18 +0000)
ospf.h
print-ospf.c

diff --git a/ospf.h b/ospf.h
index 8517232cabf5aeb3c60c7df675acb3bbdf00f22f..97e2384f058c4c2a7dc0a46c1cadbf9f5c187aa3 100644 (file)
--- a/ospf.h
+++ b/ospf.h
 /* rla_flags   */
 #define        RLA_FLAG_B      0x01
 #define        RLA_FLAG_E      0x02
-#define        RLA_FLAG_W1     0x04
-#define        RLA_FLAG_W2     0x08
+#define        RLA_FLAG_     0x04
+#define        RLA_FLAG_W      0x08
 #define        RLA_FLAG_NT     0x10 /* RFC3101 Appendix B */
+#define        RLA_FLAG_H      0x80
 
 /* sla_tosmetric breakdown     */
 #define        SLA_MASK_TOS            0x7f000000
index d3f519c3bb223a351f40fec265bd0e3dfae201f2..668506e9f121debccbb4c930641b874bff8e4897 100644 (file)
@@ -59,9 +59,10 @@ static const struct tok ospf_authtype_values[] = {
 static const struct tok ospf_rla_flag_values[] = {
        { RLA_FLAG_B,           "ABR" },
        { RLA_FLAG_E,           "ASBR" },
-       { RLA_FLAG_W1,          "Virtual" },
-       { RLA_FLAG_W2,          "W2" },
+       { RLA_FLAG_V,           "Virtual" },
+       { RLA_FLAG_W,           "Wildcard" },
        { RLA_FLAG_NT,          "Nt" },
+       { RLA_FLAG_H,           "Host" },
        { 0,                    NULL }
 };