X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/d32231a35b587b74d599b7ba428705db3514e95e..refs/heads/master:/print-wb.c diff --git a/print-wb.c b/print-wb.c index 184809cb..08113f35 100644 --- a/print-wb.c +++ b/print-wb.c @@ -21,9 +21,7 @@ /* \summary: White Board printer */ -#ifdef HAVE_CONFIG_H #include -#endif #include "netdissect-stdinc.h" @@ -73,10 +71,6 @@ struct pkt_hdr { #define PT_PREP 7 /* page vector reply */ #if 0 -#ifdef PF_USER -#undef PF_USER /* {Digital,Tru64} UNIX define this, alas */ -#endif - /* flags */ #define PF_USER 0x01 /* hint that packet has interactive data */ #define PF_VIS 0x02 /* only visible ops wanted */ @@ -232,7 +226,7 @@ wb_id(netdissect_options *ndo, c = ','; } ND_PRINT("> \""); - (void)nd_print(ndo, sitename, sitename + len); + nd_printjnp(ndo, sitename, len); ND_PRINT("\""); return (0); }