]> The Tcpdump Group git mirrors - tcpdump/commitdiff
BFD: Update specification from draft to RFC 5880
authorFrancois-Xavier Le Bail <[email protected]>
Tue, 16 Aug 2016 13:46:47 +0000 (15:46 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Tue, 16 Aug 2016 13:55:24 +0000 (15:55 +0200)
This is for version 1.  The version 0 remain "draft".

Moreover:
Update a flag string ("Reserved" -> "Multipoint").

print-bfd.c

index 8a7afbcc8514dd605a9a7712d2a255b5084f1ce4..04ea6670b941604d253fdd0fba62c121d80b53e9 100644 (file)
@@ -15,6 +15,8 @@
 
 /* \summary: Bidirectional Forwarding Detection (BFD) printer */
 
+/* specification: RFC 5880 (for version 1) */
+
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
  */
 
 /*
- *  Control packet, BFDv1, draft-ietf-bfd-base-02.txt
+ *  Control packet, BFDv1, RFC 5880
  *
  *     0                   1                   2                   3
  *     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
  *    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
- *    |Vers |  Diag   |Sta|P|F|C|A|D|R|  Detect Mult  |    Length     |
+ *    |Vers |  Diag   |Sta|P|F|C|A|D|M|  Detect Mult  |    Length     |
  *    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  *    |                       My Discriminator                        |
  *    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
@@ -147,7 +149,7 @@ static const struct tok bfd_v1_flag_values[] = {
     { 0x08, "Control Plane Independent" },
     { BFD_FLAG_AUTH, "Authentication Present" },
     { 0x02, "Demand" },
-    { 0x01, "Reserved" },
+    { 0x01, "Multipoint" },
     { 0, NULL }
 };