diff options
author | brian <brian@FreeBSD.org> | 2000-03-31 14:26:23 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-03-31 14:26:23 +0000 |
commit | 542750c80835d2c119f998c4f8d180fb294d520b (patch) | |
tree | edce200369cfe7f57fb77a6ff82aee075e6723a5 /usr.sbin/ppp/filter.c | |
parent | 942ce5d318caa53f2452f098ec4d8f3ac78b2a99 (diff) | |
download | FreeBSD-src-542750c80835d2c119f998c4f8d180fb294d520b.zip FreeBSD-src-542750c80835d2c119f998c4f8d180fb294d520b.tar.gz |
Add the ``nat target'' command.
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 bed986e..8fca40f 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_NONE) { + if (paddr->s_addr == INADDR_ANY || paddr->s_addr == INADDR_NONE) { log_Printf(LogWARN, "ParseAddr: %s: Bad address\n", s); return 0; } |