From: Justin Pettit Date: Tue, 7 Jul 2009 05:12:53 +0000 (-0700) Subject: vswitchd: Add missing argument to check for update-resolv.conf config X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fef94d151cc7a4d0484f984e61c440cd416919a4;p=openvswitch vswitchd: Add missing argument to check for update-resolv.conf config --- diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index 63c31c25..febf63be 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -1079,7 +1079,8 @@ bridge_reconfigure_controller(struct bridge *br) bool update_resolv_conf = true; if (cfg_has("%s.update-resolv.conf", pfx)) { - update_resolv_conf = cfg_get_bool(0, "%s.update-resolv.conf"); + update_resolv_conf = cfg_get_bool(0, "%s.update-resolv.conf", + pfx); } ofproto_set_discovery(br->ofproto, true, cfg_get_string(0, "%s.accept-regex", pfx),