summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_input.c
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1998-12-26 12:35:13 +0000
committerNiels Provos <provos@cvs.openbsd.org>1998-12-26 12:35:13 +0000
commitac04a74e55b78112d96b5d55c5443258b4090f67 (patch)
tree055cb5c519dedf49b396a67b9557098b5fc94ff5 /sys/netinet/ip_input.c
parentab21f45ce2c1facc9666e9ea8eb0772c0e60272c (diff)
make ip_id random but ensure that ids dont repeat for some period.
Diffstat (limited to 'sys/netinet/ip_input.c')
-rw-r--r--sys/netinet/ip_input.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 40e0edfc105..9b1f9cd4a02 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_input.c,v 1.32 1998/11/13 22:24:17 provos Exp $ */
+/* $OpenBSD: ip_input.c,v 1.33 1998/12/26 12:35:11 provos Exp $ */
/* $NetBSD: ip_input.c,v 1.30 1996/03/16 23:53:58 christos Exp $ */
/*
@@ -171,7 +171,6 @@ ip_init()
pr->pr_protocol && pr->pr_protocol != IPPROTO_RAW)
ip_protox[pr->pr_protocol] = pr - inetsw;
LIST_INIT(&ipq);
- ip_id = time.tv_sec & 0xffff;
ipintrq.ifq_maxlen = ipqmaxlen;
TAILQ_INIT(&in_ifaddr);