[DragonFlyBSD - Bug #3306] Add description support for ifconfig(8)

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Sun May 29 08:17:37 PDT 2022


Issue #3306 has been updated by tuxillo.


@dillon, I've gone ahead and pushed the modified version from aly to the repo. The buffer to set the description is allocated with M_ZERO so I thought it was good enough. @aly, thanks I've pushed the patch with your mods.

----------------------------------------
Bug #3306: Add description support for ifconfig(8)
http://bugs.dragonflybsd.org/issues/3306#change-14295

* Author: tuxillo
* Status: Closed
* Priority: Normal
* Category: Userland
* Target version: 6.4
* Start date: 2021-11-12
----------------------------------------


Is there a chance the 'ifconfig NIC description XXX' functionality
will sync with the FreeBSD ? This is a fairly popular option.

<pre>
# ifconfig vlan1 description vm1-vlan
ifconfig: description: bad value
</pre>

OpenBSD also has a similar capability[1], as NetBSD as well[2]

Thanks!
__

fn1. https://man.openbsd.org/ifconfig.8

fn2. https://man.netbsd.org/ifconfig.8


---Files--------------------------------
01-if-descr.patch (11.7 KB)
01-if-descr.aly.diff (11.8 KB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account


More information about the Bugs mailing list