From 582fc4d608f8054e14790b3bd644035e2d03a688 Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Wed, 29 Mar 2017 15:13:44 +0200 Subject: ifup: add support for VLAN_EGRESS_PRIORITY_MAP --- sysconfig/network-scripts/ifup | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sysconfig/network-scripts/ifup') 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 -- cgit v1.2.1