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/97b3a314b03e
branches:  trunk
changeset: 379474:97b3a314b03e
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 fd6c3059369a -r 97b3a314b03e 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 @@ sppp_ipv6cp_tlu(struct sppp *sp)
 }
 
 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