'all' argument for list_net_interfaces() is now unused, remove it.
This commit is contained in:
parent
5c918b56d8
commit
bb28d112bb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=138405
@ -274,7 +274,6 @@ ifnet_rename()
|
||||
# argument can be any of the following:
|
||||
# nodhcp - all interfaces, excluding DHCP configured interfaces
|
||||
# dhcp - list only DHCP configured interfaces
|
||||
# all - all interfaces
|
||||
# If no argument is specified all network interfaces are output.
|
||||
# Note that the list will include cloned interfaces if applicable.
|
||||
# Cloned interfaces must already exist to have a chance to appear
|
||||
@ -343,9 +342,6 @@ list_net_interfaces()
|
||||
dhcp)
|
||||
echo $_dhcplist
|
||||
;;
|
||||
all)
|
||||
echo $_nodhcplist $_dhcplist
|
||||
;;
|
||||
esac
|
||||
return 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user