$OpenBSD: patch-src_bin_keactrl_kea-netconf_conf_pre,v 1.1 2019/09/26 13:23:37 sthen Exp $

Index: src/bin/keactrl/kea-netconf.conf.pre
--- src/bin/keactrl/kea-netconf.conf.pre.orig
+++ src/bin/keactrl/kea-netconf.conf.pre
@@ -30,13 +30,13 @@
         "dhcp4": {
             "control-socket": {
                 "socket-type": "unix",
-                "socket-name": "/tmp/kea-dhcp4-ctrl.sock"
+                "socket-name": ""@localstatedir@/run/kea/kea-dhcp4-ctrl.sock"
             }
         },
         "dhcp6": {
             "control-socket": {
                 "socket-type": "unix",
-                "socket-name": "/tmp/kea-dhcp6-ctrl.sock"
+                "socket-name": ""@localstatedir@/run/kea/kea-dhcp6-ctrl.sock"
             }
         }
     },
@@ -69,7 +69,7 @@
                 // - syslog (logs to syslog)
                 // - syslog:name (logs to syslog using specified name)
                 // Any other value is considered a name of a time
-                "output": "@localstatedir@/log/kea-netconf.log"
+                "output": "syslog:daemon"
 
                 // Shorter log pattern suitable for use with systemd,
                 // avoids redundant information
