Module Name: src
Committed By: yamaguchi
Date: Wed Jun 2 00:47:59 UTC 2021
Modified Files:
src/sys/net: if_spppsubr.c
Log Message:
Added missing definition of sppp_ipv6cp_tld
Fixed build without INET6
To generate a diff of this commit:
cvs rdiff -u -r1.257 -r1.258 src/sys/net/if_spppsubr.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/net/if_spppsubr.c
diff -u src/sys/net/if_spppsubr.c:1.257 src/sys/net/if_spppsubr.c:1.258
--- src/sys/net/if_spppsubr.c:1.257 Tue Jun 1 05:22:57 2021
+++ src/sys/net/if_spppsubr.c Wed Jun 2 00:47:59 2021
@@ -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)
{