[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnu-radius] Cisco VSA AV-Pair Attribute Issue
From: |
Sergey Poznyakoff |
Subject: |
Re: [Help-gnu-radius] Cisco VSA AV-Pair Attribute Issue |
Date: |
Sun, 27 Apr 2003 20:15:35 +0300 |
> Apr 27 10:35:13: Main.warning: /usr/local/etc/raddb/rewrite:57: implicit
> string to integer coercion
> Apr 27 10:35:13: Main.warning: /usr/local/etc/raddb/rewrite:58: missing
> return statement
These are merely warnings, not errors. They can be ignored. If you wish
to get rid of those, here's the modified version of the function:
integer
parse_cisco_avpair()
{
if (*%[Cisco-AVPair]
&& %[Cisco-AVPair] =~ "nas-tx-speed=\(.*\)")
%[Custom-NAS-TX-Speed] = (integer) \1;
return 0;
}
Regards,
Sergey