xebd / accel-ppp

High performance PPTP/L2TP/PPPoE/IPoE server for Linux
GNU General Public License v2.0
299 stars 107 forks source link

two bug. #1

Closed liguojiang closed 8 years ago

liguojiang commented 8 years ago

1、radius.c when Framed-IP-Address return from radius server, Accel-pppd call get_ipv4 from ippool.c instead of radius.c

2、packet.c when some radius server return error radius packet, Accel-pppd will crash.

liguojiang commented 8 years ago

DEFINE_INIT(50, radius_init);

liguojiang commented 8 years ago

radius.c

DEFINE_INIT(50, radius_init);

xebd commented 8 years ago

Thanks. But I can only accept 9307f56. If you want to use radius for IP allocation then place radius above ippool [modules] radius ippool

liguojiang commented 8 years ago

OK