From cd746526ab058dcf46bd5f72fb242db4bb61707a Mon Sep 17 00:00:00 2001 From: Jesse Gross Date: Wed, 27 Jan 2010 15:08:02 -0500 Subject: [PATCH] bridge: Properly read NetFlow parameters. When reading the NetFlow engine type and ID from the config database we weren't dereferencing the variables. --- vswitchd/bridge.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index a09f3435..726d759b 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -699,10 +699,10 @@ bridge_reconfigure(const struct ovsrec_open_vswitch *ovs_cfg) dpif_get_netflow_ids(br->dpif, &opts.engine_type, &opts.engine_id); if (nf_cfg->engine_type) { - opts.engine_type = nf_cfg->engine_type; + opts.engine_type = *nf_cfg->engine_type; } if (nf_cfg->engine_id) { - opts.engine_id = nf_cfg->engine_id; + opts.engine_id = *nf_cfg->engine_id; } opts.active_timeout = nf_cfg->active_timeout; -- 2.30.2