aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-10-28 11:10:07 -0400
committerBill Nottingham <notting@redhat.com>2008-10-28 11:10:07 -0400
commit78c93967260d74c3e8a35313691f931f37f871aa (patch)
tree1021fd96fa93d5034d35405756da488f2b5e196a
parent2ea6b17f44b46369c3df3b8e08ca6e2ff7210717 (diff)
downloadinitscripts-78c93967260d74c3e8a35313691f931f37f871aa.tar
initscripts-78c93967260d74c3e8a35313691f931f37f871aa.tar.gz
initscripts-78c93967260d74c3e8a35313691f931f37f871aa.tar.bz2
initscripts-78c93967260d74c3e8a35313691f931f37f871aa.tar.xz
initscripts-78c93967260d74c3e8a35313691f931f37f871aa.zip
Accept either the '+<addr>', or comma-separated addresses for arp_ip_target. (#467954, <darcy.sherwood@gmail.com>)
This allows configurations created before we added support for comma-separated addresses to still work.
-rwxr-xr-xsysconfig/network-scripts/ifup-eth2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth
index b32d1c1f..f3996ce7 100755
--- a/sysconfig/network-scripts/ifup-eth
+++ b/sysconfig/network-scripts/ifup-eth
@@ -113,7 +113,7 @@ if [ "$ISALIAS" = no ] && is_bonding_device ${DEVICE} ; then
for arg in $BONDING_OPTS ; do
key=${arg%%=*};
value=${arg##*=};
- if [ "${key}" = "arp_ip_target" ]; then
+ if [ "${key}" = "arp_ip_target" -a "${value:0:1}" != "+" ]; then
OLDIFS=$IFS;
IFS=',';
for arp_ip in $value; do