On Tue, 2007-04-17 at 10:41 +0200, Grant Williamson wrote: > I am curious what the reason is for sending the SSID as a hex value. > > in the test coded i.e. nm-supplicant-test uses the ascii string - essid > i.e. > SUP: sending command 'SET_NETWORK 0 ssid "TEST"' > > but the main networkmanager code uses hex_essid > SUP: sending command 'SET_NETWORK 0 ssid "54455354"' > > At work using LEAP, I am seeing issues connecting when the ssid is sent > in hex value. > However nm-supplicant-test connects almost everytime, without an issue.
Interesting. The SSID is simply a 32-byte character array, _not_ a string. To ensure that NULL bytes (which are perfectly valid in an SSID) are not interpreted as the string ending marker, SSIDs are sent as hex strings. Dan _______________________________________________ NetworkManager-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/networkmanager-list
