diff options
author | adam <adam@FreeBSD.org> | 1996-02-29 18:29:24 +0000 |
---|---|---|
committer | adam <adam@FreeBSD.org> | 1996-02-29 18:29:24 +0000 |
commit | 76b7e18f09b3ecbe2908fb299a2a1febdb6b5ce5 (patch) | |
tree | be26198c1deab56346d69992d0b490ccb5995a73 /usr.sbin/ypserv | |
parent | be0c3a28c5728348ec0ae9fd6224ebc3c9b98471 (diff) | |
download | FreeBSD-src-76b7e18f09b3ecbe2908fb299a2a1febdb6b5ce5.zip FreeBSD-src-76b7e18f09b3ecbe2908fb299a2a1febdb6b5ce5.tar.gz |
sense of 'mask' was reversed in default case of no securenets file.
Diffstat (limited to 'usr.sbin/ypserv')
-rw-r--r-- | usr.sbin/ypserv/yp_access.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ypserv/yp_access.c b/usr.sbin/ypserv/yp_access.c index f5243f6..1750830 100644 --- a/usr.sbin/ypserv/yp_access.c +++ b/usr.sbin/ypserv/yp_access.c @@ -49,7 +49,7 @@ #endif #ifndef lint -static const char rcsid[] = "$Id: yp_access.c,v 1.1 1996/02/25 19:27:59 wpaul Exp $"; +static const char rcsid[] = "$Id: yp_access.c,v 1.5 1996/02/26 02:34:23 wpaul Exp $"; #endif extern int debug; @@ -130,7 +130,7 @@ void load_securenets() if (errno == ENOENT) { securenets = (struct securenet *)malloc(sizeof(struct securenet)); securenets->net.s_addr = INADDR_ANY; - securenets->mask.s_addr = INADDR_BROADCAST; + securenets->mask.s_addr = INADDR_ANY; securenets->next = NULL; return; } else { |