aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-03-17 10:16:30 -0400
committerBill Nottingham <notting@redhat.com>2009-03-17 10:16:30 -0400
commit1343d99f547745327264fa97558f194b3106c20f (patch)
tree42a8de2aaaec55feaa08f4d391e45a43879eabc3 /sysconfig/network-scripts/ifup
parentfb1d477cc39672626cefa687437c678c04a2b201 (diff)
downloadinitscripts-1343d99f547745327264fa97558f194b3106c20f.tar
initscripts-1343d99f547745327264fa97558f194b3106c20f.tar.gz
initscripts-1343d99f547745327264fa97558f194b3106c20f.tar.bz2
initscripts-1343d99f547745327264fa97558f194b3106c20f.tar.xz
initscripts-1343d99f547745327264fa97558f194b3106c20f.zip
Add vlan support for s390 HSI interfaces. (#490584)
Diffstat (limited to 'sysconfig/network-scripts/ifup')
-rwxr-xr-xsysconfig/network-scripts/ifup2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index af214637..7164a698 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -68,7 +68,7 @@ fi
# Ethernet 802.1Q VLAN support
if [ -x /sbin/vconfig -a "${VLAN}" = "yes" -a "$ISALIAS" = "no" ]; then
VID=""
- MATCH='^(eth|bond)[0-9]+\.[0-9]{1,4}$'
+ MATCH='^(eth|hsi|bond)[0-9]+\.[0-9]{1,4}$'
if [[ "${DEVICE}" =~ $MATCH ]]; then
VID=$(echo "${DEVICE}" | LC_ALL=C sed 's/^[a-z0-9]*\.0*//')
PHYSDEV=${DEVICE%.*}