OSU server: Improve logging for SPP schema validation failures

Signed-off-by: Ben Greear <greearb@candelatech.com>
This commit is contained in:
Ben Greear 2015-03-26 17:39:53 -04:00 committed by Jouni Malinen
parent 23dd15a992
commit 8e31cd2cf6

View file

@ -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, session_id = xml_node_get_attr_value_ns(ctx->xml, node,
SPP_NS_URI, SPP_NS_URI,
"sessionID"); "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, hs20_eventlog_node(ctx, auth_user, auth_realm, session_id,
"SPP message failed validation", node); "SPP message failed validation", node);
hs20_eventlog(ctx, auth_user, auth_realm, session_id, hs20_eventlog(ctx, auth_user, auth_realm, session_id,