[lxc-devel] Please give a clearer error message when the interface name is too long

Daniel Lezcano daniel.lezcano at free.fr
Wed Oct 31 16:21:43 UTC 2012


On 10/28/2012 12:29 PM, tpo2 wrote:
> Currently when configuring a too long interface name with
> lxc.network.veth.pair lxc will say:
>
>     lxc_confile - invalid interface name: veth_haproxy_br0
>
> leaving the user add odds what possibly could be wrong with that name.
> Please give the user a clearer error message.
>
> I suggest to change the error message to
>
>    "interface name '%s' is too long (> %d)".
>
> The patch below implements this change.
>
> Thanks
> *t

Applied. Thanks.





More information about the lxc-devel mailing list