[Bug 261827] ifconfig name should not print out the newly set name

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 09 Feb 2022 13:14:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261827

            Bug ID: 261827
           Summary: ifconfig name should not print out the newly set name
           Product: Base System
           Version: Unspecified
          Hardware: Any
               URL: https://cgit.freebsd.org/src/commit/sbin/ifconfig/ifco
                    nfig.c?id=6fe2e1762eb33d9386b9072e7897911cc3cc844b
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: nick@van-laarhoven.org
                CC: kp@freebsd.org

Change 6fe2e1762eb33d9386b9072e7897911cc3cc844b adds printing of the new name
for the interface:

   # ifconfig em0 name bla
   bla

which is useless. During boot up this looks even worse:

   lo0: link state changed to UP
   vlan0: changing name to 'agqg'
   agqg
   vlan1: changing name to 'retina'
   retina
   vlan2: changing name to 'shore'
   shore
   Starting dhclient.
   vlan3: changing name to 'vsat1'
   vsat1
   vlan4: changing name to 'wan4g'
   wan4g
   vlan5: changing name to 'vsat2'
   vsat2

Please revert.

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