Set a progname to send with our command.
[dhcpcd-ui] / src / dhcpcd-gtk / main.c
index 9226cb12cb82128fb63264ceec0ae8ff125c5112..5b9d8abf8d1bff1d84b9fd9981273afe5117c4a3 100644 (file)
@@ -596,6 +596,7 @@ main(int argc, char *argv[])
                g_critical("libdhcpcd: %s", strerror(errno));
                exit(EXIT_FAILURE);
        }
+       dhcpcd_set_progname(con, "dhcpcd-gtk");
        dhcpcd_set_status_callback(con, dhcpcd_status_cb, NULL);
        dhcpcd_set_if_callback(con, dhcpcd_if_cb, NULL);
        dhcpcd_wpa_set_scan_callback(con, dhcpcd_wpa_scan_cb, NULL);