X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fsys-aix4.c;h=fe38972976f37902bc93435c51b6f7e2208e3866;hp=d620b2fa37c46bf99013f5aef10676c75fb76dc2;hb=66787f54548cc1e3b7934026ddaa956253073e39;hpb=f69a54671e8b3777681017c01c1984207e3d881d diff --git a/pppd/sys-aix4.c b/pppd/sys-aix4.c index d620b2f..fe38972 100644 --- a/pppd/sys-aix4.c +++ b/pppd/sys-aix4.c @@ -21,7 +21,7 @@ */ #ifndef lint -static char rcsid[] = "$Id: sys-aix4.c,v 1.12 1997/04/30 05:57:19 paulus Exp $"; +static char rcsid[] = "$Id: sys-aix4.c,v 1.13 1998/03/25 02:19:23 paulus Exp $"; #endif /* @@ -49,7 +49,6 @@ static char rcsid[] = "$Id: sys-aix4.c,v 1.12 1997/04/30 05:57:19 paulus Exp $"; #include #include -#include #include #include #include @@ -1277,6 +1276,15 @@ logwtmp(line, name, host) close(fd); } +/* + * Use the hostid as part of the random number seed. + */ +int +get_host_seed() +{ + return gethostid(); +} + /* * Code for locking/unlocking the serial device. */