diff options
Diffstat (limited to 'networking')
-rw-r--r-- | networking/traceroute.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/networking/traceroute.c b/networking/traceroute.c index 6dcbc2faa..a027b928a 100644 --- a/networking/traceroute.c +++ b/networking/traceroute.c @@ -709,6 +709,9 @@ packet_ok(int read_len, len_and_sockaddr *from_lsa, # if ENABLE_FEATURE_TRACEROUTE_VERBOSE if (verbose) { +# ifndef MAXHOSTNAMELEN +# define MAXHOSTNAMELEN 80 +# endif unsigned char *p; char pa1[MAXHOSTNAMELEN]; char pa2[MAXHOSTNAMELEN]; |