*/
#ifndef lint
-static char rcsid[] = "$Id: sys-ultrix.c,v 1.20 1997/03/04 03:43:54 paulus Exp $";
+static char rcsid[] = "$Id: sys-ultrix.c,v 1.22 1998/03/25 03:09:12 paulus Exp $";
#endif
/*
int len;
{
if (debug)
- log_packet(p, len, "sent ");
+ log_packet(p, len, "sent ", LOG_DEBUG);
if (write(ttyfd, p, len) < 0) {
if (errno != EIO)
*/
int
sifdefaultroute(u, l, g)
- int unit;
+ int u;
u_int32_t l, g;
{
struct rtentry rt;
*/
int
cifdefaultroute(u, l, g)
- int unit;
+ int u;
u_int32_t l, g;
{
struct rtentry rt;
}
+/*
+ * Use the hostid as part of the random number seed.
+ */
+int
+get_host_seed()
+{
+ return gethostid();
+}
+
+
/*
Seems like strdup() is not part of string package in Ultrix.
If I understood the man-page on the sun this should work.