From: R.E. Wolff Date: Wed, 26 Oct 2016 06:44:35 +0000 (+0200) Subject: re-initialize ipinfo_no and -max. Fixes #161. X-Git-Tag: v0.88~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44b2673bad9e8dce92ebc3eb14c4a6282359132b;p=thirdparty%2Fmtr.git re-initialize ipinfo_no and -max. Fixes #161. --- diff --git a/mtr.c b/mtr.c index 377283c..786f6c4 100644 --- a/mtr.c +++ b/mtr.c @@ -648,6 +648,8 @@ extern int main(int argc, char **argv) ctl.maxTTL = 30; ctl.maxUnknown = 12; ctl.tcp_timeout = 10 * 1000000; + ctl.ipinfo_no = -1; + ctl.ipinfo_max = -1; xstrncpy(ctl.fld_active, "LS NABWV", 2 * MAXFLD); /* Get the raw sockets first thing, so we can drop to user euid immediately */