]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
GVRP default on on vlans
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 4 Mar 2011 13:37:09 +0000 (13:37 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 4 Mar 2011 13:37:09 +0000 (13:37 +0000)
svn-id: @12188

sysconfig/network-scripts/ifup-vlan

index 5ccd1bd73f6bae605a7a4c54b83a3a2969972182..0738e9442fc8d0bbafc1726792a776995fed1443 100755 (executable)
@@ -66,8 +66,8 @@ if (LC_ALL=C ip link add type vlan help 2>&1 | grep -q "VLANID :="); then
        /sbin/ip link add link ${VLAN_DEV} name ${DEVICE} type vlan id ${VLAN_ID}
        # default yes
        is_no "${VLAN_REORDER_HDR}" && VLAN_REORDER_HDR=off || VLAN_REORDER_HDR=on
-       # default no
-       is_yes "$VLAN_GVRP" && VLAN_GVRP=on || VLAN_GVRP=off
+       # default yes
+       is_no "$VLAN_GVRP" && VLAN_GVRP=off || VLAN_GVRP=on
        /sbin/ip link set ${DEVICE} type vlan reorder_hdr ${VLAN_REORDER_HDR} gvrp ${VLAN_GVRP}
 elif [ -x /sbin/vconfig ]; then
        /sbin/vconfig set_name_type DEV_PLUS_VID_NO_PAD
This page took 0.795666 seconds and 4 git commands to generate.