forked from extern/shorewall_code
Remove another instance of 'ip ... ls'
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6940 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
9c2e98b57e
commit
7bce2e08b3
@ -151,7 +151,7 @@ restore_dynamic_rules() {
|
||||
#
|
||||
get_device_mtu1() # $1 = device
|
||||
{
|
||||
local output="$(ip link ls dev $1 2> /dev/null)" # quotes required for /bin/ash
|
||||
local output="$(ip link list dev $1 2> /dev/null)" # quotes required for /bin/ash
|
||||
local mtu
|
||||
|
||||
if [ -n "$output" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user