Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet Get the value of the right variable (from RVP)



details:   https://anonhg.NetBSD.org/src/rev/5ce3b246b05e
branches:  trunk
changeset: 985017:5ce3b246b05e
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Aug 04 08:47:10 2021 +0000

description:
Get the value of the right variable (from RVP)

diffstat:

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

diffs (27 lines):

diff -r 62f9bdb8854a -r 5ce3b246b05e sys/netinet/tcp_usrreq.c
--- a/sys/netinet/tcp_usrreq.c  Tue Aug 03 23:21:07 2021 +0000
+++ b/sys/netinet/tcp_usrreq.c  Wed Aug 04 08:47:10 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tcp_usrreq.c,v 1.229 2021/03/08 18:17:27 christos Exp $        */
+/*     $NetBSD: tcp_usrreq.c,v 1.230 2021/08/04 08:47:10 christos Exp $        */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -99,7 +99,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcp_usrreq.c,v 1.229 2021/03/08 18:17:27 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcp_usrreq.c,v 1.230 2021/08/04 08:47:10 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -480,7 +480,7 @@
                        optval = tp->t_keepcnt;
                        goto setval;
                case TCP_KEEPINIT:
-                       optval = tp->t_keepcnt;
+                       optval = tp->t_keepinit;
 setval:                        error = sockopt_set(sopt, &optval, sizeof(optval));
                        break;
                default:



Home | Main Index | Thread Index | Old Index