mirror of
git://slackware.nl/current.git
synced 2024-12-28 09:59:53 +01:00
12 lines
385 B
Diff
12 lines
385 B
Diff
|
--- ./pppd/plugins/radius/util.c.orig 2015-04-17 11:43:59.687374237 -0500
|
||
|
+++ ./pppd/plugins/radius/util.c 2015-04-17 11:45:12.612379499 -0500
|
||
|
@@ -77,7 +77,7 @@
|
||
|
static unsigned short int cnt = 0;
|
||
|
sprintf (buf, "%08lX%04X%02hX",
|
||
|
(unsigned long int) time (NULL),
|
||
|
- (unsigned int) getpid (),
|
||
|
+ (unsigned int) getpid () % 65535,
|
||
|
cnt & 0xFF);
|
||
|
cnt++;
|
||
|
return buf;
|