aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Nykryn <lnykryn@redhat.com>2017-03-29 15:13:44 +0200
committerDee'Kej <deekej@linuxmail.org>2017-04-11 16:07:55 +0200
commit582fc4d608f8054e14790b3bd644035e2d03a688 (patch)
tree374e5b6c17b94a8c065698097b713960669e615e
parent63e81981c8ae912f95472fecc293d6dd4e642da1 (diff)
downloadinitscripts-582fc4d608f8054e14790b3bd644035e2d03a688.tar
initscripts-582fc4d608f8054e14790b3bd644035e2d03a688.tar.gz
initscripts-582fc4d608f8054e14790b3bd644035e2d03a688.tar.bz2
initscripts-582fc4d608f8054e14790b3bd644035e2d03a688.tar.xz
initscripts-582fc4d608f8054e14790b3bd644035e2d03a688.zip
ifup: add support for VLAN_EGRESS_PRIORITY_MAP
-rwxr-xr-xsysconfig/network-scripts/ifup2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index e06fafb9..d25db5af 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -133,6 +133,8 @@ if [ "${VLAN}" = "yes" ] && [ "$ISALIAS" = "no" ] && [ -n "$DEVICE" ]; then
net_log $"ERROR: could not add vlan ${VID} as ${DEVICE} on dev ${PHYSDEV}"
exit 1
}
+
+ [ -n "${VLAN_EGRESS_PRIORITY_MAP}" ] && ip link set ${DEVICE} type vlan egress ${VLAN_EGRESS_PRIORITY_MAP}
fi
fi