Navigation Menu

Skip to content

Commit

Permalink
Handle capitalized VSA types.
Browse files Browse the repository at this point in the history
  • Loading branch information
Muir Manders committed Oct 7, 2015
1 parent 92b7b61 commit 0e3d7c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/radius.js
Expand Up @@ -139,7 +139,7 @@ Radius._load_dictionary = function(content) {

attributes_map[attr_vendor][match[3]][ATTR_ID] = match[3];
attributes_map[attr_vendor][match[3]][ATTR_NAME] = match[2];
attributes_map[attr_vendor][match[3]][ATTR_TYPE] = match[4];
attributes_map[attr_vendor][match[3]][ATTR_TYPE] = match[4].toLowerCase();
attributes_map[attr_vendor][match[3]][ATTR_MODIFIERS] = modifiers;

var by_name = attributes_map[attr_vendor][match[2]];
Expand Down
2 changes: 1 addition & 1 deletion test/dictionaries/dictionary.aruba
Expand Up @@ -3,7 +3,7 @@ VENDORATTR 14823 Aruba-User-Role 1 string
VENDORATTR 14823 Aruba-User-Vlan 2 integer
VENDORATTR 14823 Aruba-Priv-Admin-User 3 integer
VENDORATTR 14823 Aruba-Admin-Role 4 string
VENDORATTR 14823 Aruba-Essid-Name 5 string
VENDORATTR 14823 Aruba-Essid-Name 5 String
VENDORATTR 14823 Aruba-Location-Id 6 string
VENDORATTR 14823 Aruba-Port-Id 7 string
VENDORATTR 14823 Aruba-Template-User 8 string
Expand Down

0 comments on commit 0e3d7c7

Please sign in to comment.