Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sbin/ifconfig

On Wed, May 07, 2008 at 09:01:39PM +0200, Alan Barrett wrote:
> On Wed, 07 May 2008, David Young wrote:
> > While I am here, allow an
> > address to be given with prefix length /0, but interpret it as
> > /128.
> What!?  If I specify [f000::baaa]/0 I expect it to either complain
> "incompatible address and length (some non-zero bits appear beyond the
> specified length)" or treat it like [::]/0 (ignoring all bits beyond
> the specified length).  Treating it like [f000::baaa]/128 would be very
> surprising to me.

AFAICT, ifconfig has worked that way since 2.x or before.  I am trying
very hard not to depart from the longstanding and, presumably, expected
ifconfig(8) behavior.


David Young             OJC Technologies      Urbana, IL * (217) 278-3933 ext 24

Home | Main Index | Thread Index | Old Index