diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2017-03-29 15:13:44 +0200 |
---|---|---|
committer | Dee'Kej <deekej@linuxmail.org> | 2017-05-03 11:53:09 +0200 |
commit | 457676588beecd9a32c056a812e59082f3b0989b (patch) | |
tree | bcaaaee48e5962958083f675990aeb25c1919e90 | |
parent | 53330c9b3d38365218a18be14cb2165ebeed9110 (diff) | |
download | initscripts-457676588beecd9a32c056a812e59082f3b0989b.tar initscripts-457676588beecd9a32c056a812e59082f3b0989b.tar.gz initscripts-457676588beecd9a32c056a812e59082f3b0989b.tar.bz2 initscripts-457676588beecd9a32c056a812e59082f3b0989b.tar.xz initscripts-457676588beecd9a32c056a812e59082f3b0989b.zip |
ifup: add support for VLAN_EGRESS_PRIORITY_MAP
-rwxr-xr-x | sysconfig/network-scripts/ifup | 2 |
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 |