<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi, i m implementing a module in which i m using some TLV for which i modified the dictionary.3gpp2 as very well suggested in a different thread, but i see that the data for those TLV fields are not encoded properly or at least that is what wireshark is showing even thou debugging freeradius it shows that the data being sent is the correct it differs from the data captured using tcpdump ... here is my dictionary entry:<div><br></div><div>ATTRIBUTE       3GPP2-Prepaid-Acct-Quota                90      tlv</div><div>BEGIN-TLV       3GPP2-Prepaid-Acct-Quota</div><div>ATTRIBUTE       3GPP2-Prepaid-Acct-Quota-QuotaIDentifier        1       integer</div><div>ATTRIBUTE       3GPP2-Prepaid-Acct-Quota-VolumeQuota    2       integer</div><div>ATTRIBUTE       3GPP2-Prepaid-Acct-Quota-VolumeThreshold        4       integer</div><div>END-TLV         3GPP2-Prepaid-Acct-Quota</div><div><br></div><div><br></div><div>and for that i m writing the following code:</div><div><br></div><div>pairadd(&request->reply->vps,pairmake("3GPP2-Prepaid-Acct-Quota-QuotaIDentifier","1", T_OP_EQ));</div><div>pairadd(&request->reply->vps,pairmake("3GPP2-Prepaid-Acct-Quota-VolumeQuota","1000000", T_OP_EQ));</div><div><span style="font-size: 12pt;">pairadd(&request->reply->vps,pairmake("3GPP2-Prepaid-Acct-Quota-VolumeThreshold","100", T_OP_EQ));</span> </div>                                      </div></body>
</html>