]> The Tcpdump Group git mirrors - tcpdump/commitdiff
from Weesan Lee <[email protected]>: display pim bidir support
authorHannes Gredler <[email protected]>
Tue, 21 Jun 2011 14:17:34 +0000 (16:17 +0200)
committerHannes Gredler <[email protected]>
Tue, 21 Jun 2011 14:17:34 +0000 (16:17 +0200)
CREDITS
print-pim.c

diff --git a/CREDITS b/CREDITS
index 628ae59f74ef508869358460fe9053c43bfd86e5..205af0fe1a0e3bf78b1600428f6b0103c170cccf 100644 (file)
--- a/CREDITS
+++ b/CREDITS
@@ -184,6 +184,7 @@ Additional people who have contributed patches:
     Toshihiro Kanda               <candy at fct dot kgc dot co dot jp>
     Uns Lider                     <unslider at miranda dot org>
     Victor Oppleman               <oppleman at users dot sourceforge dot net>
+    Weesan Lee                    <weesan at juniper dot net>
     Wesley Griffin                <wgriffin at users dot sourceforge dot net>
     Wesley Shields                <wxs at FreeBSD dot org>
     Wilbert de Graaf              <wilbertdg at hetnet dot nl>
index 25c8576601984481d0ad27f2261470f3314bd63f..0f558af13573b4dd3ca3c7936bee4838e3eaa143 100644 (file)
@@ -397,8 +397,12 @@ cisco_autorp_print(register const u_char *bp, register u_int len)
                        TCHECK2(bp[0], 6);
                        (void)printf("%c%s%s/%d", s, bp[0] & 1 ? "!" : "",
                            ipaddr_string(&bp[2]), bp[1]);
-                       if (bp[0] & 0xfe)
-                               (void)printf("[rsvd=0x%02x]", bp[0] & 0xfe);
+                       if (bp[0] & 0x02) {
+                           (void)printf(" bidir");
+                       }
+                       if (bp[0] & 0xfc) {
+                           (void)printf("[rsvd=0x%02x]", bp[0] & 0xfc);
+                       }
                        s = ',';
                        bp += 6; len -= 6;
                }