|
|
|
|
|
|
|
|
|
|
xen-ppc-devel
[XenPPC] [xenppc-unstable] network-bridge: Fall back to eth0/xenbr0 if n
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxxxx
# Node ID 275955c6df9dc09bd60728247cfe01c47396a01a
# Parent 2a0208b33c3075d770ffaa647137432efd3b8eb9
network-bridge: Fall back to eth0/xenbr0 if no default route.
From: Dave Lively <dave.lively@xxxxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
tools/examples/network-bridge | 1 +
1 files changed, 1 insertion(+)
diff -r 2a0208b33c30 -r 275955c6df9d tools/examples/network-bridge
--- a/tools/examples/network-bridge Thu Jun 01 11:04:06 2006 +0100
+++ b/tools/examples/network-bridge Thu Jun 01 11:18:26 2006 +0100
@@ -60,6 +60,7 @@ evalVariables "$@"
evalVariables "$@"
vifnum=${vifnum:-$(ip route list | awk '/^default / { print $NF }' | sed
's/^[^0-9]*//')}
+vifnum={$vifnum:-0}
bridge=${bridge:-xenbr${vifnum}}
netdev=${netdev:-eth${vifnum}}
antispoof=${antispoof:-no}
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [XenPPC] [xenppc-unstable] network-bridge: Fall back to eth0/xenbr0 if no default route.,
Xen patchbot-xenppc-unstable <=
|
|
|
|
|