Source-Changes-HG archive

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

[src/trunk]: src/sys/net Added missing definition of sppp_ipv6cp_tld



details:   https://anonhg.NetBSD.org/src/rev/b17cc1357fed
branches:  trunk
changeset: 983690:b17cc1357fed
user:      yamaguchi <yamaguchi%NetBSD.org@localhost>
date:      Wed Jun 02 00:47:59 2021 +0000

description:
Added missing definition of sppp_ipv6cp_tld

Fixed build without INET6

diffstat:

 sys/net/if_spppsubr.c |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r 713fd9dbd65c -r b17cc1357fed sys/net/if_spppsubr.c
--- a/sys/net/if_spppsubr.c     Wed Jun 02 00:00:39 2021 +0000
+++ b/sys/net/if_spppsubr.c     Wed Jun 02 00:47:59 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_spppsubr.c,v 1.257 2021/06/01 05:22:57 yamaguchi Exp $       */
+/*     $NetBSD: if_spppsubr.c,v 1.258 2021/06/02 00:47:59 yamaguchi Exp $       */
 
 /*
  * Synchronous PPP/Cisco link level subroutines.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.257 2021/06/01 05:22:57 yamaguchi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.258 2021/06/02 00:47:59 yamaguchi Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -4575,6 +4575,13 @@
 }
 
 static void
+sppp_ipv6cp_tld(struct sppp *sp)
+{
+
+       KASSERT(SPPP_WLOCKED(sp));
+}
+
+static void
 sppp_ipv6cp_scr(struct sppp *sp)
 {
 



Home | Main Index | Thread Index | Old Index