From owner-freebsd-current Mon Jul 2 8:33:49 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailgate.novagate.net (mailgate.novagate.net [205.138.138.22]) by hub.freebsd.org (Postfix) with ESMTP id B3C5137B401 for ; Mon, 2 Jul 2001 08:33:46 -0700 (PDT) (envelope-from djhill@novagate.net) Received: from rain.hill.hom (081bc122.chartermi.net [24.247.81.122]) by mailgate.novagate.net (8.11.3/8.11.3) with SMTP id f62FXgq68077; Mon, 2 Jul 2001 11:33:42 -0400 (EDT) (envelope-from djhill@novagate.net) Date: Mon, 2 Jul 2001 11:33:23 -0400 From: David Hill To: David Malone Cc: freebsd-current@FreeBSD.ORG Subject: Re: syslogd and -a Message-Id: <20010702113323.5f43e3e5.djhill@novagate.net> In-Reply-To: <20010702093842.A13480@walton.maths.tcd.ie> References: <20010701234125.7a7d3e3a.djhill@novagate.net> <20010701212044.Q296@blossom.cjclark.org> <20010702093842.A13480@walton.maths.tcd.ie> X-Mailer: Sylpheed version 0.5.0pre2 (GTK+ 1.2.10; i386-unknown-freebsd4.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 2 Jul 2001 09:38:42 +0100 David Malone wrote: > On Sun, Jul 01, 2001 at 09:20:44PM -0700, Crist J. Clark wrote: > > Hmmm... Looks like, > > > > # syslogd -a 192.168.1.0/29 > > > > Will work and, > > > > # syslogd -a 192.168.1.1/29 > > > > Won't. > > That's the standard behaviour of a netmask, isn't it? The usual > way to check if host h is in network/netmask n/m is to check if: > > (h & m == n) > > this means that the bits of the network which are not in the mask > must be zero. > > David. > Ok, changing the .1 to .0 worked for me. The last octect must be the network number. Thanks - David To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message