projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofproto-dpif: Avoid malloc() of "struct flow_miss".
[openvswitch]
/
rhel
/
etc_init.d_openvswitch
diff --git
a/rhel/etc_init.d_openvswitch
b/rhel/etc_init.d_openvswitch
index 5501d188156b2f61ce5559f99581567758438480..9f1506c38697469b96ec81d5d6313e96de287706 100755
(executable)
--- a/
rhel/etc_init.d_openvswitch
+++ b/
rhel/etc_init.d_openvswitch
@@
-27,7
+27,7
@@
# Short-Description: Open vSwitch switch
### END INIT INFO
# Short-Description: Open vSwitch switch
### END INIT INFO
-. /usr/share/openvswitch/scripts/ovs-lib
.sh
|| exit 1
+. /usr/share/openvswitch/scripts/ovs-lib || exit 1
test -e /etc/sysconfig/openvswitch && . /etc/sysconfig/openvswitch
start () {
test -e /etc/sysconfig/openvswitch && . /etc/sysconfig/openvswitch
start () {
@@
-45,6
+45,9
@@
start () {
if test X"$VSWITCHD_MLOCKALL" != X; then
set "$@" --mlockall="$VSWITCHD_MLOCKALL"
fi
if test X"$VSWITCHD_MLOCKALL" != X; then
set "$@" --mlockall="$VSWITCHD_MLOCKALL"
fi
+ if test X"$BRCOMPAT" = Xyes; then
+ set "$@" --brcompat
+ fi
"$@"
$ovs_ctl --protocol=gre enable-protocol
"$@"
$ovs_ctl --protocol=gre enable-protocol