]> The Tcpdump Group git mirrors - tcpdump/commitdiff
From Florent Drouin: don't call ip6addr_string() if IPv4 isn't enabled.
authorguy <guy>
Thu, 1 Feb 2007 02:28:38 +0000 (02:28 +0000)
committerguy <guy>
Thu, 1 Feb 2007 02:28:38 +0000 (02:28 +0000)
CREDITS
print-cfm.c

diff --git a/CREDITS b/CREDITS
index 8b04666f54300feee16de8c494c5991b92e4f1f9..62f5fd0a65ff2f09427aa24d0c6741c9632e64cc 100644 (file)
--- a/CREDITS
+++ b/CREDITS
@@ -44,6 +44,7 @@ Additional people who have contributed patches:
        David Young                     <[email protected]>
        Don Ebright                     <[email protected]>
        Eddie Kohler                    <[email protected]>
+       Florent Drouin                  <[email protected]>
        Francis Dupont                  <[email protected]>
        Francisco Matias Cuenca-Acuna   <[email protected]>
        Frank Volf                      <[email protected]>
index dc6c3e3e528f09ff5e107109db93833b9e86789b..4b728782d19f116b0d1c5da426d48a67b21503c8 100644 (file)
@@ -19,7 +19,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-cfm.c,v 1.3 2006-10-29 23:10:07 hannes Exp $";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-cfm.c,v 1.4 2007-02-01 02:28:38 guy Exp $";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -260,9 +260,11 @@ cfm_mgmt_addr_print(register const u_char *tptr) {
         printf(", %s", ipaddr_string(tptr + 1));
         break;
 
+#ifdef INET6
     case AFNUM_INET6:
         printf(", %s", ip6addr_string(tptr + 1));
         break;
+#endif
 
     default:
         hexdump = TRUE;