summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--radsecproxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 1be5bbf..ff9dbfe 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -2345,7 +2345,7 @@ struct tlv *extractattr(char *nameval) {
s2 = strchr(s + 1, ':');
if (s2) { /* Two ':' means we have vendor:name:val. */
vendor = name;
- name = atoi(s2 + 1);
+ name = atoi(s + 1);
s = s2;
}