]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-msdp.c
More bounds checking when fetching addresses and converting to strings.
[tcpdump] / print-msdp.c
index 297fbbb33968a27f3be1d0fe4a408b22600c8d6b..8680486c2542a35d50603721c43d1648bca463f6 100644 (file)
@@ -77,7 +77,7 @@ msdp_print(netdissect_options *ndo, const u_char *sp, u_int length)
                case 2:
                        ND_PRINT(" SA-Request");
                        ND_TCHECK_5(sp);
-                       ND_PRINT(" for %s", ipaddr_string(ndo, sp + 1));
+                       ND_PRINT(" for %s", GET_IPADDR_STRING(sp + 1));
                        break;
                case 4:
                        ND_PRINT(" Keepalive");