projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8150d6c
)
secchan: Fix segfault at startup due to uninitialized br_name member.
author
Ben Pfaff
<blp@nicira.com>
Wed, 4 Mar 2009 22:52:18 +0000
(14:52 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Wed, 4 Mar 2009 22:52:18 +0000
(14:52 -0800)
secchan/main.c
patch
|
blob
|
history
diff --git
a/secchan/main.c
b/secchan/main.c
index 18a591fb7086b31928156140bd9837cf8c78a3d8..197055af7c3c649576c66953da2959f8a434c2a0 100644
(file)
--- a/
secchan/main.c
+++ b/
secchan/main.c
@@
-199,6
+199,7
@@
parse_options(int argc, char *argv[], struct ofsettings *s)
char *short_options = long_options_to_short_options(long_options);
/* Set defaults that we can figure out before parsing options. */
+ s->br_name = NULL;
s->datapath_id = 0;
s->mfr_desc = "Nicira Networks, Inc.";
s->hw_desc = "Reference Implementation";