Browse Source

Fix RADIUS client callback function parameters

Jouni Malinen 15 years ago
parent
commit
174e899f69
1 changed files with 2 additions and 1 deletions
  1. 2 1
      radius_example/radius_example.c

+ 2 - 1
radius_example/radius_example.c

@@ -39,7 +39,8 @@ static void hostapd_logger_cb(void *ctx, const u8 *addr, unsigned int module,
 /* Process the RADIUS frames from Authentication Server */
 static RadiusRxResult receive_auth(struct radius_msg *msg,
 				   struct radius_msg *req,
-				   u8 *shared_secret, size_t shared_secret_len,
+				   const u8 *shared_secret,
+				   size_t shared_secret_len,
 				   void *data)
 {
 	/* struct radius_ctx *ctx = data; */