diff options
author | Brian Somers <brian@FreeBSD.org> | 2000-03-31 14:31:36 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2000-03-31 14:31:36 +0000 |
commit | 4c2b812c39c091a172ae7178e21201640df98ffd (patch) | |
tree | f5194a85325a8230dd386c0f3dccf3fb6a007ee5 /usr.sbin/ppp/filter.c | |
parent | b7d8533c1664c78632629ba74623c2503c5e7b17 (diff) | |
download | src-4c2b812c39c091a172ae7178e21201640df98ffd.tar.gz src-4c2b812c39c091a172ae7178e21201640df98ffd.zip |
Undo the damage done to this file in my last commit
Notes
Notes:
svn path=/head/; revision=58868
Diffstat (limited to 'usr.sbin/ppp/filter.c')
-rw-r--r-- | usr.sbin/ppp/filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/filter.c b/usr.sbin/ppp/filter.c index 8fca40fc896f..bed986ec8e26 100644 --- a/usr.sbin/ppp/filter.c +++ b/usr.sbin/ppp/filter.c @@ -113,7 +113,7 @@ ParseAddr(struct ipcp *ipcp, const char *data, strncpy(s, data, len); s[len] = '\0'; *paddr = GetIpAddr(s); - if (paddr->s_addr == INADDR_ANY || paddr->s_addr == INADDR_NONE) { + if (paddr->s_addr == INADDR_NONE) { log_Printf(LogWARN, "ParseAddr: %s: Bad address\n", s); return 0; } |