Daniel-Constantin Mierla writes:
On 03/12/2009 10:06 PM, Juha Heinanen wrote:
> one way might be to consider "i:30" as a string that starts with letter
> "i".
>
I would prefer a strict config checker that will
report errors rather
than some stupid mistakes done because inside c code one adds an avp
with name "34" an in script is still "i:34" and it is expected to be
the
same, but because now both are considered strings they are different.
i didn't propose that. avp with name "i:34" would be different avp than
one with name "34" or "s:34". all three would just be different
string valued avps.
in radius response the name is prefixed with # if it is int, e.g., #34.
the code that loads the avps would then install this avp with string
name "i:34".
-- juha