From: fendo Date: Tue, 12 Nov 2013 21:38:40 +0000 (+0100) Subject: Merge from master X-Git-Tag: 2.2.1-2sames3.14~1 X-Git-Url: http://git.sameswireless.fr/l2tpns.git/commitdiff_plain/dac7fe82bb8d933fb3a68cb9c0256dac6f4470ae Merge from master --- dac7fe82bb8d933fb3a68cb9c0256dac6f4470ae diff --cc l2tpns.c index 867730b,6c1e620..605cd2c --- a/l2tpns.c +++ b/l2tpns.c @@@ -183,9 -186,9 +183,10 @@@ config_descriptt config_values[] = CONFIG("disable_sending_hello", disable_sending_hello, BOOL), CONFIG("disable_no_spoof", disable_no_spoof, BOOL), CONFIG("bind_multi_address", bind_multi_address, STRING), + CONFIG("grp_txrate_average_time", grp_txrate_average_time, INT), CONFIG("pppoe_only_equal_svc_name", pppoe_only_equal_svc_name, BOOL), CONFIG("multi_hostname", multi_hostname, STRING), + CONFIG("no_throttle_local_IP", no_throttle_local_IP, BOOL), { NULL, 0, 0, 0 } }; diff --cc l2tpns.h index d28f3e7,73b5455..7dbf5b4 --- a/l2tpns.h +++ b/l2tpns.h @@@ -825,7 -783,7 +825,8 @@@ typedef struc int nbmultiaddress; // number multi address to bind int indexlacudpfd; // Index UDP LAC file handle (in udpfd[]) int nbmultihostname; // number hostname, normally the same number as the nbudpfd + int grp_txrate_average_time; // caculation txrate average time (default 10s) + int no_throttle_local_IP; // no throttle traffic from session to session in_addr_t bind_n_address[MAX_BINDADDR]; in_addr_t iftun_n_address[MAX_BINDADDR]; char bind_multi_address[256];