[PATCH 07/12] hs20-spp: Improve logging.
greearb at candelatech.com
greearb
Thu Mar 26 14:39:53 PDT 2015
From: Ben Greear <greearb at candelatech.com>
Signed-off-by: Ben Greear <greearb at candelatech.com>
---
hs20/server/spp_server.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hs20/server/spp_server.c b/hs20/server/spp_server.c
index 8a2abf1..6ac60d5 100644
--- a/hs20/server/spp_server.c
+++ b/hs20/server/spp_server.c
@@ -2196,7 +2196,8 @@ xml_node_t * hs20_spp_server_process(struct hs20_svc *ctx, xml_node_t *node,
session_id = xml_node_get_attr_value_ns(ctx->xml, node,
SPP_NS_URI,
"sessionID");
- debug_print(ctx, 1, "SPP message failed validation");
+ debug_print(ctx, 1, "SPP message failed validation, xsd file: %s xml-error: %s",
+ fname, xml_err);
hs20_eventlog_node(ctx, auth_user, auth_realm, session_id,
"SPP message failed validation", node);
hs20_eventlog(ctx, auth_user, auth_realm, session_id,
--
1.9.3
More information about the Hostap
mailing list