From fa8499bed1e9ab3b8a14276943a49e6819c67724 Mon Sep 17 00:00:00 2001 From: venaas Date: Tue, 4 Nov 2008 13:58:47 +0000 Subject: fixed length of ttl attr git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@431 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- radsecproxy.c | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.1