Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet netinet: Enable random IP fragment ids by defaul...



details:   https://anonhg.NetBSD.org/src/rev/f0396fa0380d
branches:  trunk
changeset: 981303:f0396fa0380d
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Mar 07 14:58:27 2021 +0000

description:
netinet: Enable random IP fragment ids by default (from riastradh)

diffstat:

 sys/netinet/ip_input.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 903ce88f7eb8 -r f0396fa0380d sys/netinet/ip_input.c
--- a/sys/netinet/ip_input.c    Sun Mar 07 14:53:59 2021 +0000
+++ b/sys/netinet/ip_input.c    Sun Mar 07 14:58:27 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_input.c,v 1.399 2021/02/19 14:51:59 christos Exp $  */
+/*     $NetBSD: ip_input.c,v 1.400 2021/03/07 14:58:27 christos Exp $  */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -91,7 +91,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.399 2021/02/19 14:51:59 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.400 2021/03/07 14:58:27 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -168,7 +168,7 @@
 int ip_allowsrcrt = 0;
 int ip_mtudisc = 1;
 int ip_mtudisc_timeout = IPMTUDISCTIMEOUT;
-int ip_do_randomid = 0;
+int ip_do_randomid = 1;
 
 /*
  * XXX - Setting ip_checkinterface mostly implements the receive side of



Home | Main Index | Thread Index | Old Index