aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2011-06-06 15:30:10 -0400
committerBill Nottingham <notting@redhat.com>2011-06-06 15:30:10 -0400
commit64abf0d52cf837d348efefbbe4324941058cfb4c (patch)
treeb06d59b4b8ea1cb9d77b72c00d8764d0a1e2e3aa
parent56ac215dd147c559558009ca899dc33d9932dce2 (diff)
downloadinitscripts-64abf0d52cf837d348efefbbe4324941058cfb4c.tar
initscripts-64abf0d52cf837d348efefbbe4324941058cfb4c.tar.gz
initscripts-64abf0d52cf837d348efefbbe4324941058cfb4c.tar.bz2
initscripts-64abf0d52cf837d348efefbbe4324941058cfb4c.tar.xz
initscripts-64abf0d52cf837d348efefbbe4324941058cfb4c.zip
If IPv6 is configured on the alias, configure it. (#583409)
-rwxr-xr-xsysconfig/network-scripts/ifup-aliases2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup-aliases b/sysconfig/network-scripts/ifup-aliases
index 6fa71921..fc21c7b6 100755
--- a/sysconfig/network-scripts/ifup-aliases
+++ b/sysconfig/network-scripts/ifup-aliases
@@ -292,6 +292,8 @@ function new_interface ()
/sbin/ifconfig ${DEVICE} ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
+ [ "$IPV6INIT" = "yes" ] && /etc/sysconfig/network-scripts/ifup-ipv6 ${DEVICE}
+
if [ "$NO_ALIASROUTING" != yes ]; then
GATEWAYDEV=$network_GATEWAYDEV;