[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Squelch error message from iptables (we log this later if necessary).
# HG changeset patch # User emellor@xxxxxxxxxxxxxxxxxxxxxx # Node ID e6d71c99c84d10141e66148185c0cd4703195b36 # Parent 58397be18c524eeb3af0352472e808f2987d810e Squelch error message from iptables (we log this later if necessary). Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx> diff -r 58397be18c52 -r e6d71c99c84d tools/examples/vif-common.sh --- a/tools/examples/vif-common.sh Mon Dec 12 16:43:48 2005 +++ b/tools/examples/vif-common.sh Mon Dec 12 16:44:27 2005 @@ -62,7 +62,8 @@ local c="-D" fi - iptables "$c" FORWARD -m physdev --physdev-in "$vif" "$@" -j ACCEPT || + iptables "$c" FORWARD -m physdev --physdev-in "$vif" "$@" -j ACCEPT \ + 2>/dev/null || [ "$c" == "-D" ] || log err \ "iptables $c FORWARD -m physdev --physdev-in $vif $@ -j ACCEPT failed. _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |