diff options
author | Kozlov Dmitry <dima@server> | 2010-10-14 17:38:00 +0400 |
---|---|---|
committer | Kozlov Dmitry <dima@server> | 2010-10-14 17:38:00 +0400 |
commit | f2cca0f357cebb8aedc43673809cae396a921c98 (patch) | |
tree | ab5950279a2b908c940652577bc51e25f36cc9dd /accel-pptpd/radius | |
parent | 719730c5021a365b585701d4534a37a9551d8395 (diff) | |
download | accel-ppp-f2cca0f357cebb8aedc43673809cae396a921c98.tar.gz accel-ppp-f2cca0f357cebb8aedc43673809cae396a921c98.zip |
radius: send Framed-IP-Address in Accounting-Request
Diffstat (limited to 'accel-pptpd/radius')
-rw-r--r-- | accel-pptpd/radius/req.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pptpd/radius/req.c b/accel-pptpd/radius/req.c index 5b1261fe..c6687d39 100644 --- a/accel-pptpd/radius/req.c +++ b/accel-pptpd/radius/req.c @@ -105,6 +105,8 @@ int rad_req_acct_fill(struct rad_req_t *req) return -1; if (rad_packet_add_int(req->pack, "Acct-Output-Gigawords", 0)) return -1; + if (rad_packet_add_ipaddr(req->pack, "Framed-IP-Address", req->rpd->ppp->peer_ipaddr)) + return -1; return 0; } |