vswitchd: Add missing argument to check for update-resolv.conf config
authorJustin Pettit <jpettit@nicira.com>
Tue, 7 Jul 2009 05:12:53 +0000 (22:12 -0700)
committerJustin Pettit <jpettit@nicira.com>
Tue, 7 Jul 2009 05:12:53 +0000 (22:12 -0700)
vswitchd/bridge.c

index 63c31c2518bcf65e77fa1c26a26f2703f0baad72..febf63bea52b1e1e4a037c4fbd093b4043382617 100644 (file)
@@ -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),