Re: ifconfig vlan tag range

2011-02-15 Thread Claudio Jeker
On Thu, Feb 10, 2011 at 12:08:24PM +0100, Henning Brauer wrote: * Camiel Dobbelaar c...@sentia.nl [2011-02-09 20:34]: The valid range for vlan tags in OpenBSD is 0-4095 (inclusive). not only in openbsd - that's what you can fit in the 12 bits ;) Index: ifconfig.c

Re: ifconfig vlan tag range

2011-02-10 Thread Henning Brauer
* Camiel Dobbelaar c...@sentia.nl [2011-02-09 20:34]: The valid range for vlan tags in OpenBSD is 0-4095 (inclusive). not only in openbsd - that's what you can fit in the 12 bits ;) Index: ifconfig.c === RCS file:

Re: ifconfig vlan tag range

2011-02-10 Thread Erik
Op 10-2-2011 12:08, Henning Brauer schreef: not only in openbsd - that's what you can fit in the 12 bits;) Time to implement half bits next April 1. ;) Also solves the ip address range problem, and numerous other things. Erik

ifconfig vlan tag range

2011-02-09 Thread Camiel Dobbelaar
The valid range for vlan tags in OpenBSD is 0-4095 (inclusive). Fix both checks. Makes vlan0 autoconfig work (obj/ifconfig has the diff): # ifconfig vlan0 vlandev fxp0 ifconfig: invalid vlan tag and device specification # obj/ifconfig vlan0 vlandev fxp0 and gives a better error message on