Matt Schalit wrote: > I got around to replacing the ipmask-0.30 shell script > with the 0.32 compiled version on the LEAF oxygen packages site. > > I don't get the logic of the -c option. It says: > -c Display only CIDR > > So why would that output ip/cidr? > # ipmask -c 10.2.3.4 -m 255.255.128.0 > 10.2.0.0/17 > > That can't be what you meant for it to do, can it?
Sure. I had a choice of returning /17 ...and of returning... 10.2.0.0/17 ...and I chose the latter. It seems to make more sense, since the idea of ipmask was to return all manner of determined info in a script. This, however, means that anything that used the ipmask shell script had to be changed, since it only returned the /17 instead of everything. _______________________________________________ Leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel
