[nos-bbs] Situation: ifconfig port netmask <format>

(Skip) K8RRA k8rra at ameritech.net
Fri Sep 22 14:48:43 EDT 2006


OK Maiko, QSL

On Fri, 2006-09-22 at 10:15 -0500, Maiko Langelaar (ve4klm) wrote:

> On Thu, 14 Sep 2006, K8RRA (Skip) wrote:
> 
> > ifconfig tun0 netmask 0xff000000
> 
> Generates correct behaviour
> 
> > ifconfig tun0 netmask 255.0.0.0
> 
> Is wrong in the sense that it is not documented that way, also I
> took a look at the code. The passed address argument is directly
> handed to the htol (hex to long) conversion function. So definitely
> one is not supposed to use the decimal number convention when passing

I will document per:
"decimal format per 255.255... is not supported for this command, hex
format 0xf... MUST be used."
When (if) you change it I'll add to the effect:
"prior to version 2.0X"  where you choose X.

I'll watch the change notes...

> 

>>SNIP<<

73
de [George (Skip) VerDuin] K8RRA k
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/nos-bbs_lists.tapr.org/attachments/20060922/efded357/attachment.html>


More information about the nos-bbs mailing list