[Bug 261828] ifconfig: Remove new name display on interface name change

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 05 Apr 2022 08:37:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261828

--- Comment #8 from Michael Gmelin <grembo@FreeBSD.org> ---
This change could break people's existing automation though. The commit which
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=6fe2e1762eb33d9386b9072e7897911cc3cc844b

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