]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- `ip link' command syntax changed between versions 3.15 and 3.16
authorAdam Osuchowski <adwol@pld-linux.org>
Mon, 6 Oct 2014 12:19:34 +0000 (14:19 +0200)
committerAdam Osuchowski <adwol@pld-linux.org>
Mon, 6 Oct 2014 12:19:34 +0000 (14:19 +0200)
lib/ifup

index 0aef00bb9ad50319e22b3766fe721f6ce86689c8..b0c67564cbecd12c652ce1ef0a2326cc5e03f0b4 100755 (executable)
--- a/lib/ifup
+++ b/lib/ifup
@@ -80,7 +80,7 @@ fi
 
 if [ -n "$MACVLAN_DEV" -a -n "$MACVLAN_MACADDR" ]; then
        ip link del link ${MACVLAN_DEV} ${DEVICE} type macvlan > /dev/null 2>&1
-       ip link add link ${MACVLAN_DEV} address ${MACVLAN_MACADDR} ${DEVICE} type macvlan
+       ip link add link ${MACVLAN_DEV} address ${MACVLAN_MACADDR} name ${DEVICE} type macvlan
 fi
 
 # is this device available? (this catches PCMCIA devices for us)
This page took 0.26211 seconds and 4 git commands to generate.