X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/7b2c5a11a7bc236d72b440c4db5263edb23b4880..0845bc813c1cc48b18cdefff0b387c110647463c:/print-gre.c?ds=sidebyside diff --git a/print-gre.c b/print-gre.c index ec209556..ee26d0d3 100644 --- a/print-gre.c +++ b/print-gre.c @@ -44,7 +44,7 @@ #include -#include "interface.h" +#include "netdissect.h" #include "extract.h" #include "ethertype.h" @@ -314,15 +314,15 @@ gre_sre_print(netdissect_options *ndo, uint16_t af, uint8_t sreoff, case GRESRE_IP: ND_PRINT((ndo, ", (rtaf=ip")); gre_sre_ip_print(ndo, sreoff, srelen, bp, len); - ND_PRINT((ndo, ") ")); + ND_PRINT((ndo, ")")); break; case GRESRE_ASN: ND_PRINT((ndo, ", (rtaf=asn")); gre_sre_asn_print(ndo, sreoff, srelen, bp, len); - ND_PRINT((ndo, ") ")); + ND_PRINT((ndo, ")")); break; default: - ND_PRINT((ndo, ", (rtaf=0x%x) ", af)); + ND_PRINT((ndo, ", (rtaf=0x%x)", af)); } }