]> The Tcpdump Group git mirrors - tcpdump/commitdiff
convert stray fputs() in print-esp.c
authorDenis Ovsienko <[email protected]>
Wed, 2 Apr 2014 04:19:46 +0000 (08:19 +0400)
committerDenis Ovsienko <[email protected]>
Wed, 2 Apr 2014 04:19:46 +0000 (08:19 +0400)
print-esp.c

index 78f3253bb7c8a055d4194d91ab26e049fb848410..a82460f8b4d8a929f926b5e72bb7e29f7d426a82 100644 (file)
@@ -594,7 +594,7 @@ esp_print(netdissect_options *ndo,
        ep = ndo->ndo_snapend;
 
        if ((u_char *)(esp + 1) >= ep) {
-               fputs("[|ESP]", stdout);
+               ND_PRINT((ndo, "[|ESP]"));
                goto fail;
        }
        ND_PRINT((ndo, "ESP(spi=0x%08x", EXTRACT_32BITS(&esp->esp_spi)));