14 lines
322 B
Diff
14 lines
322 B
Diff
|
--- pppd/plugins/radius/util.c
|
||
|
+++ pppd/plugins/radius/util.c
|
||
|
@@ -77,7 +77,7 @@ rc_mksid (void)
|
||
|
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;
|
||
|
|
||
|
|