X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/4ef024c8e94459e3ab9afae90e1948406e1d04db..ff2bbd6ffe2ba25884e36f2bcc97fb156cf280e6:/print-cip.c diff --git a/print-cip.c b/print-cip.c index a123b69f..debdc3f6 100644 --- a/print-cip.c +++ b/print-cip.c @@ -23,12 +23,12 @@ /* \summary: Classical-IP over ATM printer */ #ifdef HAVE_CONFIG_H -#include "config.h" +#include #endif #include -#include +#include "netdissect-stdinc.h" #include "netdissect.h" #include "addrtoname.h" @@ -47,7 +47,7 @@ cip_print(netdissect_options *ndo, u_int length) /* * There is no MAC-layer header, so just print the length. */ - ND_PRINT((ndo, "%u: ", length)); + ND_PRINT("%u: ", length); } /* @@ -74,7 +74,7 @@ cip_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char cip_print(ndo, length); if (cmplen == 0) { - ND_PRINT((ndo, "[|cip]")); + ND_PRINT("[|cip]"); return 0; } if (memcmp(rfcllc, p, cmplen) == 0) {