WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Fix vif scripts for domains with more than one ip.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix vif scripts for domains with more than one ip.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 07 Sep 2005 17:26:13 +0000
Delivery-date: Wed, 07 Sep 2005 17:25:01 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix vif scripts for domains with more than one ip., Xen patchbot -unstable <=