Undo the damage done to this file in my last commit

This commit is contained in:
Brian Somers 2000-03-31 14:31:36 +00:00
parent b7d8533c16
commit 4c2b812c39

View File

@ -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;
}