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:
teastep 2007-07-22 15:23:16 +00:00
parent 9c2e98b57e
commit 7bce2e08b3

View File

@ -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