projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ef4c9d
)
brcompat: Don't try to write the config file if it isn't configured.
author
Ben Pfaff
<blp@nicira.com>
Wed, 14 Jan 2009 00:21:37 +0000
(16:21 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Wed, 14 Jan 2009 00:21:37 +0000
(16:21 -0800)
vswitchd/brcompat.c
patch
|
blob
|
history
diff --git
a/vswitchd/brcompat.c
b/vswitchd/brcompat.c
index 6dd5743f749ab6cf94521dccabfdbda0d280e3fa..a6c25cf9dd11d9ef1875d86a2fc177a8d6c496a9 100644
(file)
--- a/
vswitchd/brcompat.c
+++ b/
vswitchd/brcompat.c
@@
-210,6
+210,10
@@
brc_modify_config(const char *dp_name, const char *port_name,
size_t i, j;
int n_ports = -1;
+ if (!config_name) {
+ return;
+ }
+
svec_init(&new_cfg);
svec_init(&old_br);
svec_init(&old_keys);