diff options
-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 8fca40f..bed986e 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; } |