[Bug 275586] Undocumented feature of ifconfig UP
| Newsgroups | gmane.os.freebsd.devel.standards |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275586 Kristof Provost <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Kristof Provost <[email protected]> --- It's not so much an undocumented feature as it is an unexpected result of a documented feature. What's happening here is that 'UP' is not 'up', so it's not recognised as a command, but is being interpreted as a hostname: address For the inet family, the address is either a host name present in the host name data base, hosts(5), or an IPv4 address expressed in the Internet standard “dot notation”. So ifconfig thinks you're trying to assign the name 'UP', so it resolves it, which happens to work on your network and result in 192.41.170.42, which it then assigns. -- You are receiving this mail because: You are the assignee for the bug.