[Bug 7926] New: arping: wrong interface name in error messages

bugzilla at busybox.net bugzilla at busybox.net
Thu Mar 12 05:57:46 UTC 2015


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

           Summary: arping: wrong interface name in error messages
           Product: Busybox
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Networking
        AssignedTo: unassigned at busybox.net
        ReportedBy: alexander.korolkov at gmail.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


In arping, all error messages start with "arping: interface eth0", even if
another interface is used.

Example:

# ./busybox arping -I eth1 192.168.0.1
arping: interface eth0 not found: No such device

This is because error template is formed before parsing command line arguments,
so it always uses default interface name "eth0". Attached patch fixes this bug.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list