vswitchd: Avoid writing to const struct
authorEd Maste <emaste@freebsd.org>
Sat, 8 Dec 2012 23:23:12 +0000 (18:23 -0500)
committerBen Pfaff <blp@nicira.com>
Sat, 8 Dec 2012 23:26:14 +0000 (15:26 -0800)
commit8c0f519f6ee6c8cb17c3113401827296e7fa1481
treee8464a0606853ae52aaaa8e6c3994fb50d13438e
parentb5bf17dd74a4378a86985b12d055ce2a61498140
vswitchd: Avoid writing to const struct

When built with Clang, vswitchd segfaulted in ovsrec_open_vswitch_init,
from calling memset() on a const struct.

Signed-off-by: Ed Maste <emaste@freebsd.org>
Signed-off-by: Ben Pfaff <blp@nicira.com>
vswitchd/bridge.c