-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
encode: invalid attributes - must give buffer for unknown attribute 'WISPr-Bandwitdth-Max-Down' #59
Comments
Looks like you have a typo in |
The typo here doesn't matter. Including the dictionary, but the attributes is not working. |
Can you show the code you are using to try to load the dictionary and use the attribute? |
I am copying Dictionary.wispr which is the link to the radius/dictionary folder. I'm not doing anything else. because it needs to pull directly from that folder. How do you think it should be? |
var dictionary_locations = [path.normalize(__dirname + "/../dictionaries")]; |
You need to show your code if you want help. The dictionary works fine for me: var radius = require('radius');
radius.add_dictionary('wispr.dict');
var packet = radius.encode({
code: "Access-Request",
secret: "obsidian order",
attributes: [
['Vendor-Specific', 'WISPr', [['WISPr-Bandwidth-Max-Down', 1234]]],
]
}); |
It worked this way. I just get the "Unknown Vendor" warning. thanks |
I want to add WISPr dictionary but I get encoding error.
I added file dictionary.wispr in dictionary folder
https://opensource.apple.com/source/freeradius/freeradius-11/freeradius/share/dictionary.wispr.auto.html
The text was updated successfully, but these errors were encountered: