git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid inserting duplicate iptables rules when restarting vswitch.
[sliver-openvswitch.git]
/
xenserver
/
etc_init.d_openvswitch
diff --git
a/xenserver/etc_init.d_openvswitch
b/xenserver/etc_init.d_openvswitch
index
39d4d36
..
8103900
100755
(executable)
--- a/
xenserver/etc_init.d_openvswitch
+++ b/
xenserver/etc_init.d_openvswitch
@@
-76,8
+76,7
@@
start () {
--pidfile --detach --monitor unix:/var/run/openvswitch/db.sock
fi
- # Allow GRE traffic.
- /sbin/iptables -I INPUT -p gre -j ACCEPT
+ $ovs_ctl --protocol=gre enable-protocol
touch /var/lock/subsys/openvswitch
}