aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2022-02-10 23:14:17 -0900
committerDavid M. Syzdek <david@syzdek.net>2022-02-10 23:14:17 -0900
commit6717f7948de1c339e6beb18919d17ce2e8a6a027 (patch)
tree289cb933c4fabddf576bd54d665f1f9027c0d1bc /tests
parent5026d8d5b6899de40f2d2a1acc681b07be39c7c5 (diff)
downloadtinyrad-6717f7948de1c339e6beb18919d17ce2e8a6a027.tar.gz
tinyrad-6717f7948de1c339e6beb18919d17ce2e8a6a027.tar.bz2
tinyrad-6717f7948de1c339e6beb18919d17ce2e8a6a027.tar.xz
tinyrad-6717f7948de1c339e6beb18919d17ce2e8a6a027.zip
libtinyrad: creating name space for RADIUS attribute data type definitions
Diffstat (limited to 'tests')
-rw-r--r--tests/dict-data.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/dict-data.c b/tests/dict-data.c
index b3731aa..7415dc8 100644
--- a/tests/dict-data.c
+++ b/tests/dict-data.c
@@ -65,12 +65,12 @@
65// RADIUS attributes: https://www.iana.org/assignments/radius-types/radius-types.xhtml 65// RADIUS attributes: https://www.iana.org/assignments/radius-types/radius-types.xhtml
66const TinyRadDictAttrDef test_dict_data_attrs[] = 66const TinyRadDictAttrDef test_dict_data_attrs[] =
67{ 67{
68 { "Syzdek-HTML-Color", 26, 27893, 0, TRAD_INTEGER, 0 }, // custom attribute for testing 68 { "Syzdek-HTML-Color", 26, 27893, 0, TRAD_DATATYPE_INTEGER, 0 }, // custom attribute for testing
69 { "Syzdek-Faith", 26, 27893, 1, TRAD_INTEGER, 0 }, // custom attribute for testing 69 { "Syzdek-Faith", 26, 27893, 1, TRAD_DATATYPE_INTEGER, 0 }, // custom attribute for testing
70 { "Syzdek-Animal-Group", 26, 27893, 2, TRAD_INTEGER, 0 }, // custom attribute for testing 70 { "Syzdek-Animal-Group", 26, 27893, 2, TRAD_DATATYPE_INTEGER, 0 }, // custom attribute for testing
71 { "TinyrRad-Foobar", 224, 0, 0, TRAD_TEXT, 0 }, // custom attribute for testing 71 { "TinyrRad-Foobar", 224, 0, 0, TRAD_DATATYPE_TEXT, 0 }, // custom attribute for testing
72 { "TinyrRad-Signature", 225, 0, 0, TRAD_STRING, 0 }, // custom attribute for testing 72 { "TinyrRad-Signature", 225, 0, 0, TRAD_DATATYPE_STRING, 0 }, // custom attribute for testing
73 { "TinyrRad-YoYo-Make", 226, 0, 0, TRAD_INTEGER, 0 }, // custom attribute for testing 73 { "TinyrRad-YoYo-Make", 226, 0, 0, TRAD_DATATYPE_INTEGER, 0 }, // custom attribute for testing
74 { NULL, 0, 0, 0, 0, 0 } 74 { NULL, 0, 0, 0, 0, 0 }
75}; 75};
76 76