[libvirt] Re: [PATCH] bridge: set MTU of tap iface to the same value of the bridge
Eduardo Habkost
ehabkost at redhat.com
Wed Dec 3 14:43:01 UTC 2008
On Wed, Dec 03, 2008 at 02:14:24PM +0000, Mark McLoughlin wrote:
> On Wed, 2008-12-03 at 11:14 -0200, Eduardo Habkost wrote:
>
> > + * Returns the MTU value in case of success.
> > + * On error, returns -1 and sets errno accordingly
> > + */
> > +static int ifGetMtu(brControl *ctl, const char *ifname)
>
> You could make this return -errno on error. No big deal, though.
I was going to do that, but returning negative errno values didn't seem
to an usual way of returning errors on libvirt.
--
Eduardo
More information about the libvir-list
mailing list