diff options
author | ume <ume@FreeBSD.org> | 2003-10-01 15:13:29 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-10-01 15:13:29 +0000 |
commit | 7a9738e2626a7965b44e0e14bfb4ef3e518136fc (patch) | |
tree | 9ec313aa696ee60d272238ebf0e841a265c9b40b /sys/netinet6/ip6_output.c | |
parent | 5ef758600965d2f2250d34a94c35a54bde3f85d9 (diff) | |
download | FreeBSD-src-7a9738e2626a7965b44e0e14bfb4ef3e518136fc.zip FreeBSD-src-7a9738e2626a7965b44e0e14bfb4ef3e518136fc.tar.gz |
randomize IPv6 fragment ID.
Obtained from: KAME
Diffstat (limited to 'sys/netinet6/ip6_output.c')
-rw-r--r-- | sys/netinet6/ip6_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c index e03fd3b..fe5d662 100644 --- a/sys/netinet6/ip6_output.c +++ b/sys/netinet6/ip6_output.c @@ -978,7 +978,7 @@ skip_ipsec2:; } else { struct mbuf **mnext, *m_frgpart; struct ip6_frag *ip6f; - u_int32_t id = htonl(ip6_id++); + u_int32_t id = htonl(ip6_randomid()); u_char nextproto; /* |