Re: add a few informative printfs to if_bridge.c?

From: Andrew Thompson <thompsa_at_freebsd.org>
Date: Thu, 14 Jul 2005 09:08:11 +1200
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
Received on Wed Jul 13 2005 - 19:08:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:38 UTC