(RADIATOR) problem with getting a vendor attribute to transmit
Scott Helms
khelms at zcorum.com
Mon Jun 10 14:57:50 CDT 2002
This is a problem with Radiator 2.18.2 on Solaris, that has me puzzeled, any
help will be greatly appreciated.
Here is the error I get when trying to use the Roaring Penguin attributes:
Mon Jun 10 13:57:40 2002: WARNING: No such attribute RP-Upstream-Speed-Limit
Mon Jun 10 13:57:40 2002: WARNING: No such attribute
RP-Downstream-Speed-Limit
Mon Jun 10 13:57:40 2002: DEBUG: Packet dump:
*** Sending to 209.17.198.32 port 32772 ....
This shows up, in the debug and these attributes aren't passed to the NAS.
However, they are in the dictionary:
# Roaring Penguin attributes for testing
VENDORATTR 10055 RP-Upstream-Speed-Limit 1 integer
VENDORATTR 10055 RP-Downstream-Speed-Limit 2 integer
Here is a snip from the realm file:
ReplyHook sub { my $acct_type = ${$_[0]}->get_attr('Filter-Id');\
if ($acct_type eq "512") {\
${$_[1]}->add_attr('RP-Upstream-Speed-Limit',\
'64');\
${$_[1]}->add_attr('RP-Downstream-Speed-Limit',\
'64');\
The interesting thing is that if I replace the RP attributes with Redback
(also in my dictionary) things work perfectly with no errors, and the NAS
gets the attributes
ReplyHook sub { my $acct_type = ${$_[0]}->get_attr('Filter-Id');\
if ($acct_type eq "512") {\
${$_[1]}->add_attr('RB-Rate_Limit_Rate',\
'64');\
${$_[1]}->add_attr('RB-Police_Rate',\
'64');\
Scott
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
More information about the radiator
mailing list