direct-io.hg

changeset 12501:0747d0b11232

Fix iptable handling when multiple addresses have been specified.

From Adrian Chadd <adrian@creative.net.au>.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Tue Nov 21 15:03:09 2006 +0000 (2006-11-21)
parents 6661355c450e
children 08007423788a
files tools/examples/vif-common.sh
line diff
     1.1 --- a/tools/examples/vif-common.sh	Tue Nov 21 11:21:20 2006 +0000
     1.2 +++ b/tools/examples/vif-common.sh	Tue Nov 21 15:03:09 2006 +0000
     1.3 @@ -103,7 +103,7 @@ function handle_iptable()
     1.4    if [ "$ip" != "" ]
     1.5    then
     1.6        local addr
     1.7 -      for addr in "$ip"
     1.8 +      for addr in $ip
     1.9        do
    1.10          frob_iptable -s "$addr"
    1.11        done