aboutsummaryrefslogtreecommitdiffstats
path: root/radius_example/radius_example.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-24 09:58:19 (GMT)
committerJouni Malinen <j@w1.fi>2009-12-24 09:58:19 (GMT)
commit019c8c669df3547e550658a71e226b9d604c679b (patch)
tree15c78aecce6cb894c1458e5bc641f7a3d5f665b4 /radius_example/radius_example.c
parentfbbfcbac29c0b3d2c6702e2e1123e93087747386 (diff)
downloadhostap-019c8c669df3547e550658a71e226b9d604c679b.zip
hostap-019c8c669df3547e550658a71e226b9d604c679b.tar.gz
hostap-019c8c669df3547e550658a71e226b9d604c679b.tar.bz2
Fix radius_example build
Diffstat (limited to 'radius_example/radius_example.c')
-rw-r--r--radius_example/radius_example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/radius_example/radius_example.c b/radius_example/radius_example.c
index 4ff4337..dbf4b54 100644
--- a/radius_example/radius_example.c
+++ b/radius_example/radius_example.c
@@ -44,7 +44,7 @@ static RadiusRxResult receive_auth(struct radius_msg *msg,
{
/* struct radius_ctx *ctx = data; */
printf("Received RADIUS Authentication message; code=%d\n",
- msg->hdr->code);
+ radius_msg_get_hdr(msg)->code);
/* We're done for this example, so request eloop to terminate. */
eloop_terminate();