[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Fix vif scripts for domains with more than one ip.
# HG changeset patch # User cl349@xxxxxxxxxxxxxxxxxxxx # Node ID 32cc65db459ad6f4c43d58a27e5b2d05f15fbcee # Parent 422fee1de8e7313d71a1c9f75a59447febe694c0 Fix vif scripts for domains with more than one ip. As reported in bug 218 by christian@xxxxxxxxx Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx> diff -r 422fee1de8e7 -r 32cc65db459a tools/examples/vif-bridge --- a/tools/examples/vif-bridge Wed Sep 7 16:52:49 2005 +++ b/tools/examples/vif-bridge Wed Sep 7 17:26:27 2005 @@ -80,7 +80,7 @@ fi ifconfig ${vif} $OP -if [ ${ip} ] ; then +if [ "${ip}" ] ; then # If we've been given a list of IP networks, allow pkts with these src addrs. for addr in ${ip} ; do diff -r 422fee1de8e7 -r 32cc65db459a tools/examples/vif-route --- a/tools/examples/vif-route Wed Sep 7 16:52:49 2005 +++ b/tools/examples/vif-route Wed Sep 7 17:26:27 2005 @@ -63,7 +63,7 @@ ;; esac -if [ ${ip} ] ; then +if [ "${ip}" ] ; then # If we've been given a list of IP networks, allow pkts with these src addrs. for addr in ${ip} ; do _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |