Support the up and coming dhcpcd-9.
[dhcpcd-ui] / src / libdhcpcd / dhcpcd.h
index ed9eb5431ea3f79426e8e85562fd297ac5a782e7..7f4709662961a85857784f82103589f0329d6c7a 100644 (file)
@@ -37,10 +37,16 @@ extern "C" {
 #endif
 
 #ifndef DHCPCD_SOCKET
-#define DHCPCD_SOCKET          "/var/run/dhcpcd.sock"
+#define DHCPCD_SOCKET          "/var/run/dhcpcd/sock"
 #endif
 #ifndef DHCPCD_UNPRIV_SOCKET
-#define DHCPCD_UNPRIV_SOCKET   "/var/run/dhcpcd.unpriv.sock"
+#define DHCPCD_UNPRIV_SOCKET   "/var/run/dhcpcd/unpriv.sock"
+#endif
+#ifndef DHCPCD_OSOCKET
+#define DHCPCD_OSOCKET         "/var/run/dhcpcd.sock"
+#endif
+#ifndef DHCPCD_UNPRIV_OSOCKET
+#define DHCPCD_UNPRIV_OSOCKET  "/var/run/dhcpcd.unpriv.sock"
 #endif
 
 #ifndef WPA_CTRL_DIR