From 21cbe8ffba14db6c55707fdfc03e9c161e91415b Mon Sep 17 00:00:00 2001 From: david Date: Tue, 28 Jun 2011 21:58:54 +0000 Subject: [PATCH] Use a big enough buffer in traceND. Same as r24365 in /nmap-exp/weiling/nmap-nd. --- tcpip.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tcpip.cc b/tcpip.cc index 4f4750617..a8e0c31ed 100644 --- a/tcpip.cc +++ b/tcpip.cc @@ -219,8 +219,8 @@ void PacketTrace::traceND(pdirection pdir, const u8 *frame, u32 len, union icmpv6_msg *msg; size_t msg_len; const char *label; - char src[INET6_ADDRSTRLEN], dst[INET_ADDRSTRLEN]; - char who_has[INET6_ADDRSTRLEN], tgt_is[INET_ADDRSTRLEN]; + char src[INET6_ADDRSTRLEN], dst[INET6_ADDRSTRLEN]; + char who_has[INET6_ADDRSTRLEN], tgt_is[INET6_ADDRSTRLEN]; char desc[128]; if (pdir == SENT) {