diff options
author | dg <dg@FreeBSD.org> | 1995-07-04 02:57:11 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-07-04 02:57:11 +0000 |
commit | b23013f289f1a1f3407374bef0b74e8dbfdb28bb (patch) | |
tree | 999de0cfda9f49629fb00b77fc9e77e64788b946 /usr.sbin/ppp/ipcp.c | |
parent | 77efe4f862c3e6af2497aa38019cb8387832c06a (diff) | |
download | FreeBSD-src-b23013f289f1a1f3407374bef0b74e8dbfdb28bb.zip FreeBSD-src-b23013f289f1a1f3407374bef0b74e8dbfdb28bb.tar.gz |
Don't convert 0.0.0.0 into 192.0.0.1. I can find no sane reason to do this.
Diffstat (limited to 'usr.sbin/ppp/ipcp.c')
-rw-r--r-- | usr.sbin/ppp/ipcp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/ppp/ipcp.c b/usr.sbin/ppp/ipcp.c index 240c0c6..67e0ad5 100644 --- a/usr.sbin/ppp/ipcp.c +++ b/usr.sbin/ppp/ipcp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: ipcp.c,v 1.3 1995/03/11 15:18:44 amurai Exp $ + * $Id: ipcp.c,v 1.4 1995/05/30 03:50:38 rgrimes Exp $ * * TODO: * o More RFC1772 backwoard compatibility @@ -160,8 +160,6 @@ IpcpInit() icp->want_ipaddr.s_addr = DefMyAddress.ipaddr.s_addr; icp->his_ipaddr.s_addr = DefHisAddress.ipaddr.s_addr; } - if (icp->want_ipaddr.s_addr == 0) - icp->want_ipaddr.s_addr = htonl(0xc0000001); if (Enabled(ConfVjcomp)) icp->want_compproto = (PROTO_VJCOMP << 16) | ((MAX_STATES - 1) << 8); else |