summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-05-27 23:22:21 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-05-27 23:22:21 +0000
commit0d046adcddcf3a7c2e1c2d631ec8ca38a877b4a6 (patch)
tree603136f62c17c3d473c6e7e4838bd53f9c99bfde /usr.sbin/ppp
parent99a257fdcc45754650091e766be73b22875c8909 (diff)
and this one, brian
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/ppp/radius.c6
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 */