Fix radius_example build

This commit is contained in:
Jouni Malinen 2009-12-24 11:58:19 +02:00
parent fbbfcbac29
commit 019c8c669d
2 changed files with 2 additions and 1 deletions

View file

@ -18,6 +18,7 @@ CFLAGS += -I../src/utils
OBJS += ../src/utils/common.o
OBJS += ../src/utils/os_unix.o
OBJS += ../src/utils/wpa_debug.o
OBJS += ../src/utils/wpabuf.o
OBJS += ../src/utils/eloop.o
OBJS += ../src/utils/ip_addr.o
OBJS += ../src/crypto/md5.o ../src/crypto/md5-internal.o

View file

@ -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();