ifconfig(8): Use correct interface name when setting flags
authorAaron LI <aly@aaronly.me>
Fri, 26 Jun 2020 07:53:07 +0000 (15:53 +0800)
committerAaron LI <aly@aaronly.me>
Fri, 26 Jun 2020 14:53:00 +0000 (22:53 +0800)
commit6cfdf6e4249caa6bec584bbc49fc88d7681dbfdf
tree89c3cc14c445c30b8f7473fccce70d96d9028ae7
parent51a3d09e9966badabd8cb22a3721055a7ff47e20
ifconfig(8): Use correct interface name when setting flags

Obtained from FreeBSD (revision 187253).

With this change, the comment to setifflags() is now obsolete, so remove
it.  While there, improve styles a bit.
sbin/ifconfig/ifconfig.c