From: Ben Pfaff Date: Wed, 4 Mar 2009 22:52:18 +0000 (-0800) Subject: secchan: Fix segfault at startup due to uninitialized br_name member. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6536419eda53dddc79f10c5816f81638e89fc239;p=openvswitch secchan: Fix segfault at startup due to uninitialized br_name member. --- diff --git a/secchan/main.c b/secchan/main.c index 18a591fb..197055af 100644 --- 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";