Set a progname to send with our command.
[dhcpcd-ui] / src / dhcpcd-qt / dhcpcd-qt.cpp
index 7fb0b8c6e3f5120da1c915220380a4ad3e4d1a9c..e7a3d808f83218be811f8c9600d10d91592655a0 100644 (file)
@@ -66,6 +66,7 @@ DhcpcdQt::DhcpcdQt()
                exit(EXIT_FAILURE);
                return;
        }
+       dhcpcd_set_progname(con, "dhcpcd-qt");
        dhcpcd_set_status_callback(con, dhcpcd_status_cb, this);
        dhcpcd_set_if_callback(con, dhcpcd_if_cb, this);
        dhcpcd_wpa_set_scan_callback(con, dhcpcd_wpa_scan_cb, this);