custom attributes
Posted: 30 Jan 2017, 11:18
Hi,
I'm trying to use the build-in shaper with custom attributes WISPr-Bandwidth-Max-Down and WISPr-Bandwidth-Max-Up from freeradius wisp dictionary.
In accel-ppp.conf, I set attr-down to WISPr-Bandwidth-Max-Down and attr-up to WISPr-Bandwidth-Max-Up, as in the wiki, but when I restart the daemon, I get this error in the emerg log:
shaper: incorrect attribute(s), tbf disabled...
looking at the code, it looks to me like it expects attr-down and up to be integers:
where am I wrong, and how should I set the shaper up ?
Thanks,
Mat
I'm trying to use the build-in shaper with custom attributes WISPr-Bandwidth-Max-Down and WISPr-Bandwidth-Max-Up from freeradius wisp dictionary.
In accel-ppp.conf, I set attr-down to WISPr-Bandwidth-Max-Down and attr-up to WISPr-Bandwidth-Max-Up, as in the wiki, but when I restart the daemon, I get this error in the emerg log:
shaper: incorrect attribute(s), tbf disabled...
looking at the code, it looks to me like it expects attr-down and up to be integers:
Code: Select all
if (conf_attr_up <= 0 || conf_attr_down <= 0) {
log_emerg("shaper: incorrect attribute(s), tbf disabled...\n");
return;
Thanks,
Mat