aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2015-03-26 21:39:53 (GMT)
committerJouni Malinen <j@w1.fi>2015-03-28 09:25:32 (GMT)
commit8e31cd2cf6f697f007cfcbeb5982525d0b02d622 (patch)
tree1055a5dc9e6ac8ffa5b937dae72d4906990002da
parent23dd15a9924e5a912b18697fe7b68bbd157be2c3 (diff)
downloadhostap-8e31cd2cf6f697f007cfcbeb5982525d0b02d622.zip
hostap-8e31cd2cf6f697f007cfcbeb5982525d0b02d622.tar.gz
hostap-8e31cd2cf6f697f007cfcbeb5982525d0b02d622.tar.bz2
OSU server: Improve logging for SPP schema validation failures
Signed-off-by: Ben Greear <greearb@candelatech.com>
-rw-r--r--hs20/server/spp_server.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hs20/server/spp_server.c b/hs20/server/spp_server.c
index 8a2abf1..33e3fa1 100644
--- a/hs20/server/spp_server.c
+++ b/hs20/server/spp_server.c
@@ -2196,7 +2196,9 @@ 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,