[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] Re: [PATCH] bridge: set MTU of tap iface to the same value of the bridge



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]