diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-10-01 21:41:06 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-10-01 21:41:06 +0000 |
commit | caf81512042f243e72c8314f283a38aac79e6b23 (patch) | |
tree | 374911f1bf9885f1f3dfafa6d7c427ce959f2a6c /sys/netinet6/frag6.c | |
parent | ef8e5a965d1f5d52e229c52742fc6374a12db46d (diff) |
use random number generator to generate IPv6 fragment ID/flowlabel.
cleanup IPv6 flowlabel handling. deraadt ok
Diffstat (limited to 'sys/netinet6/frag6.c')
-rw-r--r-- | sys/netinet6/frag6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/frag6.c b/sys/netinet6/frag6.c index 8febdc009c2..bc283e63e73 100644 --- a/sys/netinet6/frag6.c +++ b/sys/netinet6/frag6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: frag6.c,v 1.20 2003/05/14 14:24:44 itojun Exp $ */ +/* $OpenBSD: frag6.c,v 1.21 2003/10/01 21:41:05 itojun Exp $ */ /* $KAME: frag6.c,v 1.40 2002/05/27 21:40:31 itojun Exp $ */ /* @@ -133,7 +133,7 @@ do { \ void frag6_init() { - ip6_id = arc4random(); + ip6q.ip6q_next = ip6q.ip6q_prev = &ip6q; } |