Enable secchan, ofp-discover to update /etc/resolv.conf.
[openvswitch] / utilities / ofp-discover.c
index 5c78d439baa67f20629894bb034fbfa417b60632..7dfc56af06c4a8653353da19ccd26e99e42826d4 100644 (file)
@@ -144,6 +144,7 @@ main(int argc, char *argv[])
                 /* Configure network device. */
                 if (!exit_without_bind) {
                     dhclient_configure_netdev(iface->dhcp);
+                    dhclient_update_resolv_conf(iface->dhcp);
                 }
 
                 if (is_bound) {