Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jul 2005 10:26:16 +0300
From:      Niki Denev <nike_d@cytexbg.com>
To:        freebsd-current@freebsd.org
Subject:   add a few informative printfs to if_bridge.c?
Message-ID:  <200507121026.16664.nike_d@cytexbg.com>

next in thread | raw e-mail | index | archive | help
Hello all,

I've had some problems adding one if_ral interface to if_bridge device.
I've tracked down the problem to the MTU on my PCI if_ral interface
which is set to 2290 ( i think that hostapd did this ).

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?


--niki



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507121026.16664.nike_d>