Module Name: src
Committed By: christos
Date: Sun Mar 7 14:58:28 UTC 2021
Modified Files:
src/sys/netinet: ip_input.c
Log Message:
netinet: Enable random IP fragment ids by default (from riastradh)
To generate a diff of this commit:
cvs rdiff -u -r1.399 -r1.400 src/sys/netinet/ip_input.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/netinet/ip_input.c
diff -u src/sys/netinet/ip_input.c:1.399 src/sys/netinet/ip_input.c:1.400
--- src/sys/netinet/ip_input.c:1.399 Fri Feb 19 09:51:59 2021
+++ src/sys/netinet/ip_input.c Sun Mar 7 09:58:27 2021
@@ -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_directedbcast = 0;
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