projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
def046d
)
rhel: Poke iptables hole for gre in init scripts.
author
Ethan Jackson
<ethan@nicira.com>
Thu, 1 Sep 2011 00:56:07 +0000
(17:56 -0700)
committer
Ethan Jackson
<ethan@nicira.com>
Thu, 1 Sep 2011 01:27:01 +0000
(18:27 -0700)
rhel/etc_init.d_openvswitch
patch
|
blob
|
history
diff --git
a/rhel/etc_init.d_openvswitch
b/rhel/etc_init.d_openvswitch
index 6f7fe6955ec0d5e9c3ef46180f64bed5b2188f93..5501d188156b2f61ce5559f99581567758438480 100755
(executable)
--- a/
rhel/etc_init.d_openvswitch
+++ b/
rhel/etc_init.d_openvswitch
@@
-31,9
+31,6
@@
test -e /etc/sysconfig/openvswitch && . /etc/sysconfig/openvswitch
start () {
- # Allow GRE traffic.
- /sbin/iptables -I INPUT -p gre -j ACCEPT
-
set $ovs_ctl ${1-start}
set "$@" --system-id=random
if test X"$FORCE_COREFILES" != X; then
@@
-50,6
+47,8
@@
start () {
fi
"$@"
+ $ovs_ctl --protocol=gre enable-protocol
+
touch /var/lock/subsys/openvswitch
}