diff options
| author | Brian Somers <brian@FreeBSD.org> | 2002-09-28 10:16:25 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 2002-09-28 10:16:25 +0000 |
| commit | 736fc9be30e7e47258ef2be2bf161cc68dc55dbc (patch) | |
| tree | d8c76c43bd75bca366289cd1ddbd290cd00d529f /usr.sbin | |
| parent | e1ea49a7326735b9663a7e1fc7b5371bdf84d55a (diff) | |
Notes
Diffstat (limited to 'usr.sbin')
| -rw-r--r-- | usr.sbin/ppp/ipcp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/ipcp.c b/usr.sbin/ppp/ipcp.c index 4ebf4b3ac5f3..1897d12a9a02 100644 --- a/usr.sbin/ppp/ipcp.c +++ b/usr.sbin/ppp/ipcp.c @@ -1013,7 +1013,8 @@ ipcp_ValidateReq(struct ipcp *ipcp, struct in_addr ip, struct fsm_decode *dec) } return; } - } else if (!ncprange_containsip4(&ipcp->cfg.peer_range, ip)) { + } else if (ip.s_addr == INADDR_ANY || + !ncprange_containsip4(&ipcp->cfg.peer_range, ip)) { /* * If the destination address is not acceptable, NAK with what we * want to use. |
