X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/f22a9cebbe6a3a99c6c5bd5e9fd410274a8562b9..a8823a7dfa876c1a6f4aca964ee3a49b690e153d:/radius.c diff --git a/radius.c b/radius.c index 568ac3c..7dcaf67 100644 --- a/radius.c +++ b/radius.c @@ -1,6 +1,6 @@ // L2TPNS Radius Stuff -char const *cvs_id_radius = "$Id: radius.c,v 1.39 2005-08-10 11:25:56 bodea Exp $"; +char const *cvs_id_radius = "$Id: radius.c,v 1.41 2005-08-31 12:41:09 bodea Exp $"; #include #include @@ -13,7 +13,7 @@ char const *cvs_id_radius = "$Id: radius.c,v 1.39 2005-08-10 11:25:56 bodea Exp #include #include #include -#include +#include "md5.h" #include "constants.h" #include "l2tpns.h" #include "plugin.h" @@ -414,7 +414,7 @@ static void handle_avpair(sessionidt s, uint8_t *avp, int len) // process RADIUS response void processrad(uint8_t *buf, int len, char socket_index) { - uint8_t b[MAXCONTROL]; + uint8_t b[MAXETHER]; MD5_CTX ctx; uint16_t r; sessionidt s;