projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ovs-vsctl: Fix performance problem.
[openvswitch]
/
ofproto
/
ofproto.c
diff --git
a/ofproto/ofproto.c
b/ofproto/ofproto.c
index 60e1828ebe0ac0370554d0b88e979846ea2178f3..09388ba2fda418a8b29e1acdcdc0e76e18712ec0 100644
(file)
--- a/
ofproto/ofproto.c
+++ b/
ofproto/ofproto.c
@@
-536,7
+536,7
@@
int
ofproto_set_netflow(struct ofproto *ofproto,
const struct netflow_options *nf_options)
{
- if (nf_options->collectors.n) {
+ if (nf_options
&& nf_options
->collectors.n) {
if (!ofproto->netflow) {
ofproto->netflow = netflow_create();
}