Date: Wed, 6 Sep 1995 11:52:45 -0400 From: "Garrett A. Wollman" <wollman@lcs.mit.edu> To: michael butler <imb@scgt.oz.au> Cc: current@freebsd.org Subject: pppd & netmask 255.255.255.255 Message-ID: <9509061552.AA20694@halloran-eldar.lcs.mit.edu> In-Reply-To: <199509061528.BAA15734@asstdc.scgt.oz.au> References: <199509061528.BAA15734@asstdc.scgt.oz.au>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 7 Sep 1995 01:28:02 +1000 (EST), michael butler <imb@scgt.oz.au> said: > if ((mask = inet_addr(*argv)) == -1 || (netmask & ~mask) != 0) { It should use inet_aton() here to avoid this problem. -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9509061552.AA20694>