git: ifconfig(8): Fix 'const' discarding warning in link_status()

Aaron LI aly at crater.dragonflybsd.org
Thu Dec 21 00:54:11 PST 2023


commit 0c6980e1e096b39532379b2837291f0f048d1f67
Author: Aaron LI <aly at aaronly.me>
Date:   Tue Dec 12 17:28:44 2023 +0800

    ifconfig(8): Fix 'const' discarding warning in link_status()
    
    Meanwhile, refactor the code a bit.

Summary of changes:
 sbin/ifconfig/af_link.c | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0c6980e1e096b39532379b2837291f0f048d1f67


-- 
DragonFly BSD source repository


More information about the Commits mailing list