From: weiyixuan Date: Tue, 10 Apr 2018 09:56:04 +0000 (+0800) Subject: Option --ipinfo 1 can not work properly X-Git-Tag: v0.93~22^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F252%2Fhead;p=thirdparty%2Fmtr.git Option --ipinfo 1 can not work properly --- diff --git a/ui/asn.c b/ui/asn.c index 1fe29ba..0ed0398 100644 --- a/ui/asn.c +++ b/ui/asn.c @@ -307,7 +307,7 @@ char *fmt_ipinfo( int is_printii( struct mtr_ctl *ctl) { - return ((ctl->ipinfo_no >= 0) && (ctl->ipinfo_no != ctl->ipinfo_max)); + return (ctl->ipinfo_no >= 0); } void asn_open(