Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Added ipcp option name for logging
details: https://anonhg.NetBSD.org/src/rev/8ce21f27e826
branches: trunk
changeset: 961971:8ce21f27e826
user: yamaguchi <yamaguchi%NetBSD.org@localhost>
date: Mon Apr 26 08:34:22 2021 +0000
description:
Added ipcp option name for logging
diffstat:
sys/net/if_spppsubr.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 559a58b268b6 -r 8ce21f27e826 sys/net/if_spppsubr.c
--- a/sys/net/if_spppsubr.c Mon Apr 26 08:31:21 2021 +0000
+++ b/sys/net/if_spppsubr.c Mon Apr 26 08:34:22 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_spppsubr.c,v 1.222 2021/04/26 08:31:21 yamaguchi Exp $ */
+/* $NetBSD: if_spppsubr.c,v 1.223 2021/04/26 08:34:22 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.222 2021/04/26 08:31:21 yamaguchi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.223 2021/04/26 08:34:22 yamaguchi Exp $");
#if defined(_KERNEL_OPT)
#include "opt_inet.h"
@@ -6297,6 +6297,8 @@
case IPCP_OPT_ADDRESSES: return "addresses";
case IPCP_OPT_COMPRESSION: return "compression";
case IPCP_OPT_ADDRESS: return "address";
+ case IPCP_OPT_PRIMDNS: return "primdns";
+ case IPCP_OPT_SECDNS: return "secdns";
}
snprintf(buf, sizeof(buf), "0x%x", opt);
return buf;
Home |
Main Index |
Thread Index |
Old Index