diff options
author | ume <ume@FreeBSD.org> | 2003-06-19 18:55:49 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-06-19 18:55:49 +0000 |
commit | 29e5dc90dfb950a8fa8e40609388256338ec1278 (patch) | |
tree | 877601488ffc542c8f2eb687cafa3636fbcefe7e /usr.sbin/ppp/ipcp.c | |
parent | 3a0fbd5a35267e40405b393e934ea7e6ad994f00 (diff) | |
download | FreeBSD-src-29e5dc90dfb950a8fa8e40609388256338ec1278.zip FreeBSD-src-29e5dc90dfb950a8fa8e40609388256338ec1278.tar.gz |
Do RADIUS accounting on IPV6CP.
MFC after: 1 week
Diffstat (limited to 'usr.sbin/ppp/ipcp.c')
-rw-r--r-- | usr.sbin/ppp/ipcp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/ipcp.c b/usr.sbin/ppp/ipcp.c index b25a158..7d8ae63 100644 --- a/usr.sbin/ppp/ipcp.c +++ b/usr.sbin/ppp/ipcp.c @@ -872,8 +872,7 @@ IpcpLayerDown(struct fsm *fp) #ifndef NORADIUS radius_Account(&fp->bundle->radius, &fp->bundle->radacct, - fp->bundle->links, RAD_STOP, &ipcp->peer_ip, &ipcp->ifmask, - &ipcp->throughput); + fp->bundle->links, RAD_STOP, &ipcp->throughput); if (fp->bundle->radius.cfg.file && fp->bundle->radius.filterid) system_Select(fp->bundle, fp->bundle->radius.filterid, LINKDOWNFILE, @@ -939,8 +938,9 @@ IpcpLayerUp(struct fsm *fp) return 0; #ifndef NORADIUS + radius_Account_Set_Ip(&fp->bundle->radacct, &ipcp->peer_ip, &ipcp->ifmask); radius_Account(&fp->bundle->radius, &fp->bundle->radacct, fp->bundle->links, - RAD_START, &ipcp->peer_ip, &ipcp->ifmask, &ipcp->throughput); + RAD_START, &ipcp->throughput); if (fp->bundle->radius.cfg.file && fp->bundle->radius.filterid) system_Select(fp->bundle, fp->bundle->radius.filterid, LINKUPFILE, |