From owner-freebsd-current Wed Sep 6 08:53:02 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.freebsd.org (8.6.11/8.6.6) id IAA18127 for current-outgoing; Wed, 6 Sep 1995 08:53:02 -0700 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.6.11/8.6.6) with SMTP id IAA18113 for ; Wed, 6 Sep 1995 08:52:58 -0700 Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA20694; Wed, 6 Sep 1995 11:52:45 -0400 Date: Wed, 6 Sep 1995 11:52:45 -0400 From: "Garrett A. Wollman" Message-Id: <9509061552.AA20694@halloran-eldar.lcs.mit.edu> To: michael butler Cc: current@freebsd.org Subject: pppd & netmask 255.255.255.255 In-Reply-To: <199509061528.BAA15734@asstdc.scgt.oz.au> References: <199509061528.BAA15734@asstdc.scgt.oz.au> Sender: current-owner@freebsd.org Precedence: bulk < 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