add a few informative printfs to if_bridge.c?

Niki Denev nike_d at cytexbg.com
Thu Jul 14 15:37:07 GMT 2005


On Thursday 14 July 2005 00:08, Andrew Thompson wrote:
> On Tue, Jul 12, 2005 at 10:26:16AM +0300, Niki Denev wrote:
> > Hello all,
> >
> > So, i have a proposition to add some informative printfs to if_bridge
> > code, because returning "Invalid argument" is not so self explanatory,
> > especially in the wrong MTU case. I think that most of the returns in
> > bridge_ioctl_add(), could benefit from additional printf with more
> > information.
> > What do you think?
>
> Ive added a message for the incorrect MTU case and also relaxed the
> requirements a little. The bridge will take the MTU of the first member
> interface rather than being hardcoded at 1500, all members are still
> required to have the exact same MTU.
>
>
> cheers,
>
> Andrew

Thanks!

--niki


More information about the freebsd-current mailing list