]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-gre.c
Add program_name field in the netdissect_options structure
[tcpdump] / print-gre.c
index ec2095561a2867af29b86018bb71c6a44ba3a14c..ee26d0d3c21542fbc9d2e203bf0e86bb93ef4eda 100644 (file)
@@ -44,7 +44,7 @@
 
 #include <string.h>
 
-#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));
        }
 }