:: Re: [DNG] netman GIT project
Forside
Slet denne besked
Besvar denne besked
Skribent: Irrwahn
Dato:  
Til: dng
Emne: Re: [DNG] netman GIT project
On Tue, 25 Aug 2015 19:24:17 +0200 (CEST), Karl wrote:
> Tilt!:
>> i wonder if we ever get to see such SSIDs from iwlist anyway -
>> how is it supposed to print SSIDs that contain the zerobyte ...
>
> iwlib.c line 989..995:
>       /* Is it a non-ASCII character ??? */
>       if(isescape || !isascii(*s) || iscntrl(*s))
>         {
>           /* Escape */
>           sprintf(d, "\\x%02X", *s);
>           d += 4;
>         }


Thank you. One problem, though:
Not a single version of the Wireless Tools for Linux sources I
happened to stumble upon doing a quick internet search contains
this snippet, or anything remotely like it. Care to share with us,
where this originates? Or give a little more context, particularly
how isescape is set?

Thanks
--
Irrwahn