Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Oct 1997 14:27:01 -0700 (PDT)
From:      Archie Cobbs <archie@whistle.com>
To:        adam@veda.is (Adam David)
Cc:        ortmann@sparc.ISl.NET, freebsd-current@FreeBSD.ORG
Subject:   Re: ipfw outputs 0's with default numbering
Message-ID:  <199710032127.OAA23642@bubba.whistle.com>
In-Reply-To: <199710031952.TAA19556@veda.is> from Adam David at "Oct 3, 97 07:52:00 pm"

next in thread | previous in thread | raw e-mail | index | archive | help

Adam David writes:
> >ipfw -f flush
> >ipfw add 1000 pass all from 127.0.0.1 to 127.0.0.1
> >ipfw add pass all from ${ip} to ${net}:${mask}
> 
> >Then I get output as follows ...
> 
> >Flushed all rules.
> >01000 allow ip from 127.0.0.1 to 127.0.0.1
> >00000 allow ip from 199.3.25.128 to 199.3.25.0/24
> 
> >But "ipfw list" shows the following ...
> 
> >01000 allow ip from 127.0.0.1 to 127.0.0.1
> >01100 allow ip from 199.3.25.128 to 199.3.25.0/24
> 
> >I expected to see the real sequence numbers instead of just 0's.
> 
> Is the 0000 intended to show that the rule is inserted according to
> automatic numbering, or would it be better to intend that the actual
> number assigned gets displayed?

Yes and yes :-)

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710032127.OAA23642>