[Bug 275586] Undocumented feature of ifconfig UP
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 275586] Undocumented feature of ifconfig UP"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 07 Dec 2023 09:16:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275586 Kristof Provost <kp@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kp@freebsd.org --- Comment #1 from Kristof Provost <kp@freebsd.org> --- 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.