]> git.ipfire.org Git - thirdparty/mtr.git/commitdiff
Option --ipinfo 1 can not work properly 252/head
authorweiyixuan <weiyixuan@netpas.co>
Tue, 10 Apr 2018 09:56:04 +0000 (17:56 +0800)
committerweiyixuan <weiyixuan@netpas.co>
Tue, 10 Apr 2018 09:56:04 +0000 (17:56 +0800)
ui/asn.c

index 1fe29ba8c8c9f3a54f50165f9b55451dcaf1c3b5..0ed03980179ad6cf7a7609195ce55180e62de677 100644 (file)
--- 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(