Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Apr 2022 08:37:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 261828] ifconfig: Remove new name display on interface name change
Message-ID:  <bug-261828-7501-SZUCg23D1x@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-261828-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-261828-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261828

--- Comment #8 from Michael Gmelin <grembo@FreeBSD.org> ---
This change could break people's existing automation though. The commit whi=
ch
added echoing the interface name[0] gives an example of why this was added =
in
the first place:

    $ ifconfig tap create mtu 9000
    tap0
    $ ifconfig tap create mtu 9000 name blah
    blah

So there is a (small?) potential for a POLA violation.

Even if that's not considered an issue, the one-line change wouldn't cut it=
, as
it leaves dead code behind.

[0]
https://cgit.freebsd.org/src/commit/sbin/ifconfig/ifconfig.c?id=3D6fe2e1762=
eb33d9386b9072e7897911cc3cc844b

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261828-7501-SZUCg23D1x>