On Fri, Jan 09, 2015 at 19:58, Brent Cook wrote: > On Fri, Jan 9, 2015 at 7:40 PM, Theo de Raadt <[email protected]> > wrote: >>>From: Brent Cook <[email protected]> >>> >>>Match what parse.y and probably anything else would expect. >>> >>>Noted by AC on slashdot, but I think it's probably a bug. >> >> Nope! You did not test this. This breaks it. > > You are completely right. I did not test this properly with an IP > address in the config file. > > Reverted.
There is something funny though. parse.y is checking host() for -1, but the function never returns that. I think the return (0) is wrong, and that's what should be changed. Or change parse.y to check for 0.
