summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index b611053..f063c60 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -1616,6 +1616,7 @@ int addvendorattr(struct radmsg *msg, uint32_t vendor, struct tlv *attr) {
vendor = htonl(vendor);
memcpy(v, &vendor, 4);
tlv2buf(v + 4, attr);
+ v[5] += 2;
vattr = maketlv(RAD_Attr_Vendor_Specific, l, v);
if (vattr && radmsg_add(msg, vattr))
return 1;