diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-08-23 15:58:02 -0500 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-08-23 16:01:11 -0500 |
commit | 30abce604828b60070b0eace83ddf67fd238df18 (patch) | |
tree | 73988ba17aecf44f14542ee45fdb693c3ed1163d /scripts/vyatta-interfaces.pl | |
parent | bd43d2da5139061c93e2e0ffe0cc2d071a7f8405 (diff) | |
download | vyatta-cfg-system-30abce604828b60070b0eace83ddf67fd238df18.tar.gz vyatta-cfg-system-30abce604828b60070b0eace83ddf67fd238df18.zip |
Bugfix 7461: Fix syntax problem when setting a mac address
Diffstat (limited to 'scripts/vyatta-interfaces.pl')
-rwxr-xr-x | scripts/vyatta-interfaces.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-interfaces.pl b/scripts/vyatta-interfaces.pl index 0365266c..c4d04e7a 100755 --- a/scripts/vyatta-interfaces.pl +++ b/scripts/vyatta-interfaces.pl @@ -233,7 +233,7 @@ sub update_mac { exit 0 if (lc($oldmac) eq lc($mac)); # try the direct approach - if (system "ip link set $name address $mac" == 0) { + if (system("ip link set $name address $mac") == 0) { exit 0; } elsif ($intf->up()) { # some hardware can not change MAC address if up |