X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/ea2c9385938dc5ee481c9e7e677c03dc869b88cf..ba1c3362c6dc0d65eb3d06368c47b75aa135456b:/grpsess.c diff --git a/grpsess.c b/grpsess.c index ccaa27c..5528453 100644 --- a/grpsess.c +++ b/grpsess.c @@ -9,7 +9,9 @@ #include #include #include +#include +#include "dhcp6.h" #include "l2tpns.h" #include "util.h" #include "cluster.h" @@ -520,7 +522,7 @@ sessionidt grp_getnextsession(groupidt g, in_addr_t ip, in_addr_t ip_src) sessionidt s = 0, s2 = 0, s3 = 0; int i; uint32_t ltime_changed = 0, mintxrate = 0xFFFFFFFF, maxtxrate = 0; - uint32_t txrate; + uint32_t txrate = 0; if (g >= MAXGROUPE) return 0;