[PATCH] vlan: print libnl error message on vlan_add / vlan_del
Jouni Malinen
j
Thu May 7 12:09:53 PDT 2015
On Wed, May 06, 2015 at 01:44:04PM +0200, Michael Braun wrote:
> if (!(if_idx = rtnl_link_name2i(cache, if_name))) {
> /* link does not exist */
> - wpa_printf(MSG_ERROR, "VLAN: interface %s does not exist",
> - if_name);
> + wpa_printf(MSG_ERROR, "VLAN: interface %s does not exist: %s",
> + if_name, nl_geterror(err));
> goto vlan_add_error;
> }
Thanks, applied with this part removed since it does not set err and as
such, the error message here cannot really be correct.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list