[Bug 13451] New: traceroute broken: NO OPT x!

bugzilla at busybox.net bugzilla at busybox.net
Fri Jan 15 18:09:54 UTC 2021


https://bugs.busybox.net/show_bug.cgi?id=13451

            Bug ID: 13451
           Summary: traceroute broken: NO OPT x!
           Product: Busybox
           Version: 1.33.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Networking
          Assignee: unassigned at busybox.net
          Reporter: ronald.wahl at raritan.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

# traceroute 8.8.8.8
traceroute: NO OPT x!

Not sure if this is the right fix, but it works:


diff --git a/busybox/networking/traceroute.c b/busybox/networking/traceroute.c
index 3f1a9ab46d1d3..29f5e480b6d47 100644
--- a/busybox/networking/traceroute.c
+++ b/busybox/networking/traceroute.c
@@ -896,7 +896,7 @@ traceroute_init(int op, char **argv)

        op |= getopt32(argv, "^"
                OPT_STRING
-               "\0" "-1:x-x" /* minimum 1 arg */
+               "\0" "-1" /* minimum 1 arg */
                , &tos_str, &device, &max_ttl_str, &port_str, &nprobes_str
                , &source, &waittime_str, &pausemsecs_str, &first_ttl_str
        );

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list