]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ip.c
IP: Remove space printing at end of line
[tcpdump] / print-ip.c
index 819c0c128abbc0714159c8b2caf91f80bcfbb891..868e4cfcca4fb8c37ea2cd3f66c4321da7aa2a97 100644 (file)
@@ -548,9 +548,9 @@ ip_print(netdissect_options *ndo,
        ND_TCHECK_1(ipds->ip->ip_vhl);
        if (IP_V(ipds->ip) != 4) { /* print version and fail if != 4 */
            if (IP_V(ipds->ip) == 6)
-             ND_PRINT("IP6, wrong link-layer encapsulation ");
+             ND_PRINT("IP6, wrong link-layer encapsulation");
            else
-             ND_PRINT("IP%u ", IP_V(ipds->ip));
+             ND_PRINT("IP%u", IP_V(ipds->ip));
            return;
        }
        if (!ndo->ndo_eflag)