2006-02-03 Robert Love <rml@novell.com>
* src/NetworkManagerUtils.c: Even for debugging, we should not log the user's encryption key, so we print the err_msg_cmd not the command, if available. So long as SUPPLICANT_DEBUG is default, this makes sense. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1441 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2006-02-03 Robert Love <rml@novell.com>
|
||||
|
||||
* src/NetworkManagerUtils.c: Even for debugging, we should not log the
|
||||
user's encryption key, so we print the err_msg_cmd not the command,
|
||||
if available. So long as SUPPLICANT_DEBUG is default, this makes
|
||||
sense.
|
||||
|
||||
2006-02-03 Christopher Aillon <caillon@redhat.com>
|
||||
|
||||
* initscript/RedHat/NetworkManagerDispatcher.in:
|
||||
|
@@ -762,7 +762,7 @@ nm_utils_supplicant_request_with_check (struct wpa_ctrl *ctrl,
|
||||
response = g_malloc (RESPONSE_SIZE);
|
||||
len = RESPONSE_SIZE;
|
||||
#ifdef SUPPLICANT_DEBUG
|
||||
nm_info ("SUP: sending command '%s'", command);
|
||||
nm_info ("SUP: sending command '%s'", err_msg_cmd ? err_msg_cmd : command);
|
||||
#endif
|
||||
wpa_ctrl_request (ctrl, command, strlen (command), response, &len, NULL);
|
||||
response[len] = '\0';
|
||||
|
Reference in New Issue
Block a user