mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 17:59:04 +00:00
Use a big enough buffer in traceND. Same as r24365 in
/nmap-exp/weiling/nmap-nd.
This commit is contained in:
4
tcpip.cc
4
tcpip.cc
@@ -219,8 +219,8 @@ void PacketTrace::traceND(pdirection pdir, const u8 *frame, u32 len,
|
|||||||
union icmpv6_msg *msg;
|
union icmpv6_msg *msg;
|
||||||
size_t msg_len;
|
size_t msg_len;
|
||||||
const char *label;
|
const char *label;
|
||||||
char src[INET6_ADDRSTRLEN], dst[INET_ADDRSTRLEN];
|
char src[INET6_ADDRSTRLEN], dst[INET6_ADDRSTRLEN];
|
||||||
char who_has[INET6_ADDRSTRLEN], tgt_is[INET_ADDRSTRLEN];
|
char who_has[INET6_ADDRSTRLEN], tgt_is[INET6_ADDRSTRLEN];
|
||||||
char desc[128];
|
char desc[128];
|
||||||
|
|
||||||
if (pdir == SENT) {
|
if (pdir == SENT) {
|
||||||
|
|||||||
Reference in New Issue
Block a user