Otto Moerbeek wrote:
On Fri, 27 Jan 2006, Alexander Hall wrote:
I just noticed (the hard way) a strange behaviour of ifconfig. In short, if I
supply a netmask when removing an alias with ``-alias <address>'', it is not,
as one would expect, ignored, but rather used as the netmask for the primary
address of the interface.
alias/-alias is a _parameter_ and should come after the address.
It would be better if ifconfig would be more strict, but its argument
parsing code is a nightmare....
-Otto
Ah. Got it. I agree on the strict parsing. Would have saved me from a
headache last night. :-/
Thanks,
Alexander