* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
+#ifndef lint
+static const char rcsid[] _U_ =
+ "@(#) $Header: /tcpdump/master/tcpdump/print-sl.c,v 1.65 2005-04-06 21:32:42 mcr Exp $ (LBL)";
+#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "addrtoname.h"
#include "extract.h" /* must come after interface.h */
-#ifndef lint
-static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/tcpdump/print-sl.c,v 1.63 2003-11-15 00:39:39 guy Exp $ (LBL)";
-#endif
#include "ip.h"
#include "tcp.h"
#include "slip.h"
switch (IP_V(ip)) {
case 4:
- ip_print((u_char *)ip, length);
+ ip_print(gndo, (u_char *)ip, length);
break;
#ifdef INET6
case 6:
- ip6_print((u_char *)ip, length);
+ ip6_print(gndo, (u_char *)ip, length);
break;
#endif
default:
sliplink_print(p, ip, length);
#endif
- ip_print((u_char *)ip, length);
+ ip_print(gndo, (u_char *)ip, length);
return (SLIP_HDRLEN);
}