diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-05-27 23:22:21 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-05-27 23:22:21 +0000 |
commit | 0d046adcddcf3a7c2e1c2d631ec8ca38a877b4a6 (patch) | |
tree | 603136f62c17c3d473c6e7e4838bd53f9c99bfde /usr.sbin/ppp | |
parent | 99a257fdcc45754650091e766be73b22875c8909 (diff) |
and this one, brian
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r-- | usr.sbin/ppp/ppp/radius.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/ppp/radius.c b/usr.sbin/ppp/ppp/radius.c index 08f7f73350c..de5cb37e662 100644 --- a/usr.sbin/ppp/ppp/radius.c +++ b/usr.sbin/ppp/ppp/radius.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $OpenBSD: radius.c,v 1.15 2002/05/16 14:27:21 brian Exp $ + * $OpenBSD: radius.c,v 1.16 2002/05/27 23:22:20 deraadt Exp $ * */ @@ -759,8 +759,8 @@ radius_Account(struct radius *r, struct radacct *ac, struct datalink *dl, ac->authentic = 2; /* Assume RADIUS verified auth data */ /* Generate a session ID */ - snprintf(ac->session_id, sizeof ac->session_id, "%s%d-%s%lu", - dl->bundle->cfg.auth.name, (int)getpid(), + snprintf(ac->session_id, sizeof ac->session_id, "%s%ld-%s%lu", + dl->bundle->cfg.auth.name, (long)getpid(), dl->peer.authname, (unsigned long)stats->uptime); /* And grab our MP socket name */ |