From b60aa9823e739c74582e350bad5d6892ed2c1bbb Mon Sep 17 00:00:00 2001 From: YASUOKA Masahiko Date: Fri, 15 Jan 2010 03:29:12 +0000 Subject: Address family for UNIX domain socket was mistakenly specified as AF_INET. It should be AF_UNIX. --- usr.sbin/npppd/npppd/npppd_ctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/npppd/npppd/npppd_ctl.c b/usr.sbin/npppd/npppd/npppd_ctl.c index db50114e308..6126cb33527 100644 --- a/usr.sbin/npppd/npppd/npppd_ctl.c +++ b/usr.sbin/npppd/npppd/npppd_ctl.c @@ -27,7 +27,7 @@ * npppd 制御。UNIXドメインソケット /var/run/npppd_ctl を open して、 * npppdctlコマンドからのコマンドを受け付ける。 */ -/* $Id: npppd_ctl.c,v 1.1 2010/01/11 04:20:57 yasuoka Exp $ */ +/* $Id: npppd_ctl.c,v 1.2 2010/01/15 03:29:11 yasuoka Exp $ */ #include #include #include @@ -142,7 +142,7 @@ npppd_ctl_start(npppd_ctl *_this) } unlink(_this->pathname); memset(&sun, 0, sizeof(sun)); - sun.sun_family = AF_INET; + sun.sun_family = AF_UNIX; sun.sun_len = sizeof(sun); strlcpy(sun.sun_path, _this->pathname, sizeof(sun.sun_path)); -- cgit v1.2.3