This commit is contained in:
committed by
Git OBS Bridge
parent
f5d6338f4d
commit
8cefe055e5
@@ -1,8 +1,8 @@
|
||||
Index: xen-3.2.1-testing/tools/examples/network-bridge
|
||||
Index: xen-3.3.0-testing/tools/examples/network-bridge
|
||||
===================================================================
|
||||
--- xen-3.2.1-testing.orig/tools/examples/network-bridge
|
||||
+++ xen-3.2.1-testing/tools/examples/network-bridge
|
||||
@@ -180,6 +180,28 @@ antispoofing () {
|
||||
--- xen-3.3.0-testing.orig/tools/examples/network-bridge
|
||||
+++ xen-3.3.0-testing/tools/examples/network-bridge
|
||||
@@ -191,6 +191,28 @@ antispoofing () {
|
||||
iptables -A FORWARD -m physdev --physdev-in ${pdev} -j ACCEPT
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ Index: xen-3.2.1-testing/tools/examples/network-bridge
|
||||
# Usage: show_status dev bridge
|
||||
# Print ifconfig and routes.
|
||||
show_status () {
|
||||
@@ -208,6 +230,9 @@ op_start () {
|
||||
@@ -219,6 +241,9 @@ op_start () {
|
||||
return
|
||||
fi
|
||||
|
||||
@@ -41,7 +41,7 @@ Index: xen-3.2.1-testing/tools/examples/network-bridge
|
||||
create_bridge ${tdev}
|
||||
|
||||
preiftransfer ${netdev}
|
||||
@@ -226,6 +251,8 @@ op_start () {
|
||||
@@ -237,6 +262,8 @@ op_start () {
|
||||
add_to_bridge2 ${bridge} ${pdev}
|
||||
do_ifup ${bridge}
|
||||
|
||||
@@ -50,7 +50,7 @@ Index: xen-3.2.1-testing/tools/examples/network-bridge
|
||||
if [ ${antispoof} = 'yes' ] ; then
|
||||
antispoofing
|
||||
fi
|
||||
@@ -239,6 +266,9 @@ op_stop () {
|
||||
@@ -250,6 +277,9 @@ op_stop () {
|
||||
return
|
||||
fi
|
||||
|
||||
@@ -60,7 +60,7 @@ Index: xen-3.2.1-testing/tools/examples/network-bridge
|
||||
transfer_addrs ${bridge} ${pdev}
|
||||
if ! ifdown ${bridge}; then
|
||||
get_ip_info ${bridge}
|
||||
@@ -254,6 +284,8 @@ op_stop () {
|
||||
@@ -265,6 +295,8 @@ op_stop () {
|
||||
ip link set ${pdev} down
|
||||
ip link set ${pdev} name ${netdev}
|
||||
do_ifup ${netdev}
|
||||
|
Reference in New Issue
Block a user