git: ifconfig(8): Minor code simplifications and style cleanups
Aaron LI
aly at crater.dragonflybsd.org
Thu Dec 21 00:54:11 PST 2023
commit 93b0f75896cdefec1058f676ed05c90d01094009
Author: Aaron LI <aly at aaronly.me>
Date: Tue Dec 12 17:22:43 2023 +0800
ifconfig(8): Minor code simplifications and style cleanups
Summary of changes:
sbin/ifconfig/af_inet.c | 17 +++++++++-------
sbin/ifconfig/af_inet6.c | 1 +
sbin/ifconfig/af_link.c | 2 +-
sbin/ifconfig/ifbridge.c | 1 +
sbin/ifconfig/ifcarp.c | 10 ++++-----
sbin/ifconfig/ifclone.c | 3 ++-
sbin/ifconfig/ifconfig.c | 23 +++++++--------------
sbin/ifconfig/ifconfig.h | 9 ++++++---
sbin/ifconfig/ifgroup.c | 7 +++----
sbin/ifconfig/ifieee80211.c | 49 ++++++++++++++++++++++-----------------------
sbin/ifconfig/iflagg.c | 2 +-
sbin/ifconfig/ifmedia.c | 3 ++-
sbin/ifconfig/ifvlan.c | 8 +++++---
13 files changed, 68 insertions(+), 67 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/93b0f75896cdefec1058f676ed05c90d01094009
--
DragonFly BSD source repository
More information about the Commits
mailing list