ia64/xen-unstable

changeset 7860:3867d93d86f7

Downgrade the failure to change the iptables settings from fatal to an error.
Even though we are checking for a working iptables installation, it is still
possible that the user does not have the PHYSDEV matcher installed, so just
issue a diagnostic instead.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Wed Nov 16 15:25:22 2005 +0100 (2005-11-16)
parents 50dcb6266990
children 8c736c042f72
files tools/examples/vif-common.sh
line diff
     1.1 --- a/tools/examples/vif-common.sh	Wed Nov 16 12:37:29 2005 +0100
     1.2 +++ b/tools/examples/vif-common.sh	Wed Nov 16 15:25:22 2005 +0100
     1.3 @@ -63,7 +63,9 @@ function frob_iptable()
     1.4    fi
     1.5  
     1.6    iptables "$c" FORWARD -m physdev --physdev-in "$vif" "$@" -j ACCEPT ||
     1.7 -    fatal "iptables $c FORWARD -m physdev --physdev-in $vif $@ -j ACCEPT failed"
     1.8 +    log err \
     1.9 +     "iptables $c FORWARD -m physdev --physdev-in $vif $@ -j ACCEPT failed.
    1.10 +If you are using iptables, this may affect networking for guest domains."
    1.11  }
    1.12  
    1.13