diff options
-rw-r--r-- | src/ifplugd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ifplugd.c b/src/ifplugd.c index ddbb024..99ab489 100644 --- a/src/ifplugd.c +++ b/src/ifplugd.c @@ -409,7 +409,7 @@ void work(void) { break; } - if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) { + if ((fd = socket(AF_LOCAL, SOCK_DGRAM, 0)) < 0) { daemon_log(LOG_ERR, "socket(): %s", strerror(errno)); goto finish; } |