[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Fix iptable handling when multiple addresses have been specified.



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID 0747d0b1123259d36c3c5a09a28370fc0b2c4926
# Parent  6661355c450e2cd2c6f59eacbcd7378b8dbb4479
Fix iptable handling when multiple addresses have been specified.

>From Adrian Chadd <adrian@xxxxxxxxxxxxxxx>.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
 tools/examples/vif-common.sh |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 6661355c450e -r 0747d0b11232 tools/examples/vif-common.sh
--- a/tools/examples/vif-common.sh      Tue Nov 21 11:21:20 2006 +0000
+++ b/tools/examples/vif-common.sh      Tue Nov 21 15:03:09 2006 +0000
@@ -103,7 +103,7 @@ function handle_iptable()
   if [ "$ip" != "" ]
   then
       local addr
-      for addr in "$ip"
+      for addr in $ip
       do
         frob_iptable -s "$addr"
       done

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.