Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Oct 1997 19:52:00 GMT
From:      Adam David <adam@veda.is>
To:        ortmann@sparc.ISl.NET (Daniel Ortmann)
Cc:        freebsd-current@freebsd.org
Subject:   Re: ipfw outputs 0's with default numbering
Message-ID:  <199710031952.TAA19556@veda.is>
References:  <199709151623.LAA01132@watcher.isl.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>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?

--
Adam David <adam@veda.is>



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