X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fsys-aix4.c;h=fe38972976f37902bc93435c51b6f7e2208e3866;hp=ac608cd226b4fd2e7763167f5bf02fe112e88ffd;hb=a25ab4af5d8ea4f1760b5db5f5ee5b65bbfcd53b;hpb=26a7a28f129d72feaa08ef589e9a49aafd16d984 diff --git a/pppd/sys-aix4.c b/pppd/sys-aix4.c index ac608cd..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.11 1997/03/04 03:43:52 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.11 1997/03/04 03:43:52 paulus Exp $"; #include #include -#include #include #include #include @@ -546,7 +545,7 @@ output(unit, p, len) struct pollfd pfd; if (debug) - log_packet(p, len, "sent "); + log_packet(p, len, "sent ", LOG_DEBUG); str.len = len; str.buf = (caddr_t) p; @@ -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. */