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

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

 



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

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]