Jeff Carneal <jeff@apex.net>
authorjcarneal <jcarneal>
Fri, 20 Oct 2000 16:59:52 +0000 (16:59 +0000)
committerjcarneal <jcarneal>
Fri, 20 Oct 2000 16:59:52 +0000 (16:59 +0000)
Had to remove 'static' deinition of rad_check_password so that
the function can be called by modules with usercollide.

src/main/auth.c

index 244e4b2..e95b03e 100644 (file)
@@ -12,6 +12,7 @@ static const char rcsid[] = "$Id$";
 #include       <stdlib.h>
 #include       <string.h>
 #include       <ctype.h>
+#include <netinet/in.h>
 
 #if HAVE_MALLOC_H
 #  include <malloc.h>
@@ -119,7 +120,7 @@ static int check_expiration(REQUEST *request)
  *
  *     NOTE: NOT the same as the RLM_ values !
  */
-static int rad_check_password(REQUEST *request)
+int rad_check_password(REQUEST *request)
 {
        VALUE_PAIR      *auth_type_pair;
        VALUE_PAIR      *cur_config_item;