]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Fix display of MLDv2 queries
authorTillmann Karras <[email protected]>
Fri, 18 Jan 2013 01:23:33 +0000 (02:23 +0100)
committerTillmann Karras <[email protected]>
Fri, 18 Jan 2013 01:23:33 +0000 (02:23 +0100)
print-icmp6.c

index 1f898ddd5a44d4189ec2b92887b0df98a3d1d8a2..7e0322e37f6ee071ff0b380eb2ff02ce6b3c063f 100644 (file)
@@ -440,7 +440,7 @@ icmp6_print(netdissect_options *ndo,
                if (length == MLD_MINLEN) {
                        mld6_print((const u_char *)dp);
                } else if (length >= MLDV2_MINLEN) {
                if (length == MLD_MINLEN) {
                        mld6_print((const u_char *)dp);
                } else if (length >= MLDV2_MINLEN) {
-                       printf("v2 ");
+                       printf(" v2");
                        mldv2_query_print((const u_char *)dp, length);
                } else {
                        printf(" unknown-version (len %u) ", length);
                        mldv2_query_print((const u_char *)dp, length);
                } else {
                        printf(" unknown-version (len %u) ", length);