On 2008-09-18, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > 2008/9/18 Cezary Morga <[EMAIL PROTECTED]> > >> Dnia czwartek, 18 wrze6nia 2008, napisa3e6: >> > I understand the concept of an 8 bit integer. What I meant by >> > ambiguous is the acceptable ranges that are being used, assuming >> > vhid's are an 8-bit integer as well, although thats not explicitly >> > stated it sure looks like one, why isnt 0 acceptable? >> >> The ifconfig(8) manpage states: >> vhid n If the driver is a carp(4) pseudo-device, set the virtual host >> ID to n. Acceptable values are 1 to 255. >> >> And in the ifconfig.c you have: >> vhid = strtonum(val, 1, 255, &errmsg); >> > > That was a rhetorical question. It makes little difference to me why I cant > set a vhid to 0. I asked it to make a point about your previous comment on > ambiguity. > >> >> > Ok then if this is true, then can anyone tell me what else would >> > prevent me from assigning 0 to the advbase. >> >> Common sense? You can set advbase to 0 and ifconfig won't complain about >> it, but it seems that somewhere between the lines ifconfig simply >> ignores such value and uses default or previously set. I haven't >> managed to find what it actually does in such situation, but I'm no C >> programmer. >> > > Common sense? Please. There are many examples on these lists of people > trying to accomplish crazier things then trying to lower there failover > times to something less then 3 seconds. Look I appreciate you attempting to > help and all, but if your going to be rude about it please dont bother.
Did you see this from when it came up before? http://archive.netbsd.se/?ml=openbsd-bugs&a=2007-03&m=3363926

