summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2014-10-08 20:28:28 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2014-10-08 20:28:28 +0000
commit916c78d146e8e11c2e09f750d97b971097a11fae (patch)
treef32c699a952110b5c4bf431c8a4c740b8124f9f7 /sys/net
parenta5dbdae298237e2ba3bedf9fe79ac53dafd7686a (diff)
print ipv6cp by name rather than number in "0x8057 output <...>" debug lines,
as already done for lcp/ipcp/pap/chap
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_spppsubr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index 222475e32f2..ed40ac9fcf2 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_spppsubr.c,v 1.125 2014/07/22 11:06:09 mpi Exp $ */
+/* $OpenBSD: if_spppsubr.c,v 1.126 2014/10/08 20:28:27 sthen Exp $ */
/*
* Synchronous PPP/Cisco link level subroutines.
* Keepalive protocol implemented in both Cisco and PPP modes.
@@ -5187,6 +5187,7 @@ sppp_proto_name(u_short proto)
switch (proto) {
case PPP_LCP: return "lcp";
case PPP_IPCP: return "ipcp";
+ case PPP_IPV6CP: return "ipv6cp";
case PPP_PAP: return "pap";
case PPP_CHAP: return "chap";
}