From: Ethan Jackson Date: Thu, 1 Sep 2011 00:56:07 +0000 (-0700) Subject: rhel: Poke iptables hole for gre in init scripts. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=438540b315fd4399316fa6e8448898a8ed9ecefb;p=openvswitch rhel: Poke iptables hole for gre in init scripts. --- diff --git a/rhel/etc_init.d_openvswitch b/rhel/etc_init.d_openvswitch index 6f7fe695..5501d188 100755 --- 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 }