summaryrefslogtreecommitdiff
path: root/xenserver/etc_init.d_openvswitch
diff options
context:
space:
mode:
Diffstat (limited to 'xenserver/etc_init.d_openvswitch')
-rwxr-xr-xxenserver/etc_init.d_openvswitch3
1 files changed, 1 insertions, 2 deletions
diff --git a/xenserver/etc_init.d_openvswitch b/xenserver/etc_init.d_openvswitch
index 39d4d364e..810390040 100755
--- 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
}