summaryrefslogtreecommitdiff
path: root/accel-pptpd/radius/dict.c
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-12-28 13:56:49 +0300
committerKozlov Dmitry <dima@server>2010-12-28 13:56:49 +0300
commit7ab0dd10cbb94ea8246237246fb67d08922bd2d4 (patch)
treec513b7d4b6dc088d9dca9109174428dbc2e5953d /accel-pptpd/radius/dict.c
parent73b6989bdc0066caa4d8c351127345d7785feb92 (diff)
downloadaccel-ppp-7ab0dd10cbb94ea8246237246fb67d08922bd2d4.tar.gz
accel-ppp-7ab0dd10cbb94ea8246237246fb67d08922bd2d4.zip
radius: implemented unsigned integer attribute type
Diffstat (limited to 'accel-pptpd/radius/dict.c')
-rw-r--r--accel-pptpd/radius/dict.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pptpd/radius/dict.c b/accel-pptpd/radius/dict.c
index 9704569e..785e960a 100644
--- a/accel-pptpd/radius/dict.c
+++ b/accel-pptpd/radius/dict.c
@@ -147,6 +147,8 @@ static int dict_load(const char *fname)
goto out_err_syntax;
if (!strcmp(ptr[2], "integer"))
attr->type = ATTR_TYPE_INTEGER;
+ else if (!strcmp(ptr[2], "uinteger"))
+ attr->type = ATTR_TYPE_UINTEGER;
else if (!strcmp(ptr[2], "string"))
attr->type = ATTR_TYPE_STRING;
else if (!strcmp(ptr[2], "date"))