diff options
author | 2014-10-08 20:28:27 +0000 | |
---|---|---|
committer | 2014-10-08 20:28:27 +0000 | |
commit | e8b1bf3590b7ad129b496c9d6be2191f30be9f0b (patch) | |
tree | 93354cd9000dc4ab23c84bc80fddade7a5cb07e5 | |
parent | Remove #ifdef SO_OOBINLINE, it is always defined. (diff) | |
download | wireguard-openbsd-e8b1bf3590b7ad129b496c9d6be2191f30be9f0b.tar.xz wireguard-openbsd-e8b1bf3590b7ad129b496c9d6be2191f30be9f0b.zip |
print ipv6cp by name rather than number in "0x8057 output <...>" debug lines,
as already done for lcp/ipcp/pap/chap
-rw-r--r-- | sys/net/if_spppsubr.c | 3 |
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"; } |