]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-enc.c
From Albert Chin: IBM's C compiler, at least for AIX 4.3.3, doesn't
[tcpdump] / print-enc.c
index 14b08f1c083536296f75bf2b121802f786cecf89..605ca33d255677a509f71f8e9b68fb53b16ace3a 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+#ifndef lint
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-enc.c,v 1.4 2005-04-06 21:32:39 mcr Exp $ (LBL)";
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #include "interface.h"
 #include "addrtoname.h"
 
-#ifndef lint
-static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-enc.c,v 1.2 2003-11-15 00:39:21 guy Exp $ (LBL)";
-#endif
 #include "enc.h"
 
 #define ENC_PRINT_TYPE(wh, xf, nam) \
@@ -71,8 +71,16 @@ enc_if_print(const struct pcap_pkthdr *h, register const u_char *p)
 
        length -= ENC_HDRLEN;
        /* XXX - use the address family */
-       ip_print(p + ENC_HDRLEN, length);
+       ip_print(gndo, p + ENC_HDRLEN, length);
 
 out:
        return (ENC_HDRLEN);
 }
+
+
+/*
+ * Local Variables:
+ * c-style: whitesmith
+ * c-basic-offset: 8
+ * End:
+ */