[Bug 223151] provide a way to get initial interface name

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Oct 21 20:45:45 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223151

            Bug ID: 223151
           Summary: provide a way to get initial interface name
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: yuripv at gmx.com

Created attachment 187352
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=187352&action=edit
keep original name, make ifconfig print it

Once the interface is renamed (e.g. using `ifconfig <if> name <name>`), there
doesn't seem to be an easy way to get the original (physical) device name
corresponding to the interface (at least, I wasn't able to find one).

Keep the original interface name, provide SIOCGIFNAME, and make ifconfig print
the devname if it differs from current interface name.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list