[PATCH v5 15/25] wpa_cli: handle IFNAME correctly for global iface

Janusz Dziedzic janusz.dziedzic at tieto.com
Sun Mar 6 03:00:50 PST 2016


On 5 March 2016 at 15:33, Jouni Malinen <j at w1.fi> wrote:
> On Fri, Mar 04, 2016 at 10:20:31AM +0100, Janusz Dziedzic wrote:
>> In case we are using wpa_cli to connect global UDP
>> interface, before we have "UNKNOWN COMMAND\n" string
>> as ifname. Change this to "unknown".
>
> Why would "unknown" be any better than "UNKNOWN COMMAND\n"? "unknown"
> would be a valid name of an interface. If we want to changes "UNKNOWN
> COMMAND\n" to something, that something better be something that can be
> clearly identified as not being a network interface.
>
No idea here, added this because of "cosmetic" purpose. So, maybe skip
this one or just remove "\n"?

BR
Janusz

> --
> Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list