diff options
Diffstat (limited to 'usr.sbin/ppp/auth.c')
-rw-r--r-- | usr.sbin/ppp/auth.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/usr.sbin/ppp/auth.c b/usr.sbin/ppp/auth.c index a2f328b..1a6758c 100644 --- a/usr.sbin/ppp/auth.c +++ b/usr.sbin/ppp/auth.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: auth.c,v 1.21 1997/11/09 22:07:27 brian Exp $ + * $Id: auth.c,v 1.22 1997/11/11 22:58:09 brian Exp $ * * TODO: * o Implement check against with registered IP addresses. @@ -47,19 +47,6 @@ void LocalAuthInit() { - if (*VarShortHost == '\0') { - char *p; - - if (gethostname(VarShortHost, sizeof(VarShortHost))) { - VarLocalAuth = LOCAL_DENY; - return; - } - - p = strchr(VarShortHost, '.'); - if (p) - *p = '\0'; - } - if (!(mode&MODE_DAEMON)) /* We're allowed in interactive mode */ VarLocalAuth = LOCAL_AUTH; |