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] [xen-unstable] network-bridge: default to eth0 if no def

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] network-bridge: default to eth0 if no default gateway.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 26 Sep 2007 03:41:09 -0700
Delivery-date: Wed, 26 Sep 2007 04:27:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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 Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1190391735 -3600
# Node ID ca13600946540d2cfbe727473704499b629bda20
# Parent  844e507d56b82d28f5ea5de32c1bf6a2b3181501
network-bridge: default to eth0 if no default gateway.
From: Luke Szymanski <Lukasz.Szymanski@xxxxxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/examples/network-bridge |    1 +
 1 files changed, 1 insertion(+)

diff -r 844e507d56b8 -r ca1360094654 tools/examples/network-bridge
--- a/tools/examples/network-bridge     Fri Sep 21 17:15:47 2007 +0100
+++ b/tools/examples/network-bridge     Fri Sep 21 17:22:15 2007 +0100
@@ -58,6 +58,7 @@ evalVariables "$@"
 
 netdev=${netdev:-$(ip route list | awk '/^default / { print $NF }' |
                   sed 's/.* dev //')}
+netdev=${netdev:-eth0}
 bridge=${bridge:-${netdev}}
 antispoof=${antispoof:-no}
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] network-bridge: default to eth0 if no default gateway., Xen patchbot-unstable <=