diff options
author | 2016-09-13 07:56:05 +0000 | |
---|---|---|
committer | 2016-09-13 07:56:05 +0000 | |
commit | 82f7730653a20c9bd3c11b01f23737383b4e53f9 (patch) | |
tree | 918c6b3a43b2fc99afbc7febc4a38381aebfd421 | |
parent | Do not raise splsoftnet() recursively in soaccept(). (diff) | |
download | wireguard-openbsd-82f7730653a20c9bd3c11b01f23737383b4e53f9.tar.xz wireguard-openbsd-82f7730653a20c9bd3c11b01f23737383b4e53f9.zip |
we no longer reach around and call DDB specific functions, so always
define bfd_debug() especially since we use it in a lot of places right now
-rw-r--r-- | sys/net/bfd.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/net/bfd.c b/sys/net/bfd.c index 352ddce80cd..267b02754c9 100644 --- a/sys/net/bfd.c +++ b/sys/net/bfd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bfd.c,v 1.23 2016/09/12 15:24:51 phessler Exp $ */ +/* $OpenBSD: bfd.c,v 1.24 2016/09/13 07:56:05 phessler Exp $ */ /* * Copyright (c) 2016 Peter Hessler <phessler@openbsd.org> @@ -182,10 +182,7 @@ void bfd_senddown(struct bfd_softc *); void bfd_reset(struct bfd_softc *); void bfd_set_uptime(struct bfd_softc *); -#ifdef DDB void bfd_debug(struct bfd_softc *); -#endif - TAILQ_HEAD(bfd_queue, bfd_softc) bfd_queue; @@ -946,7 +943,6 @@ bfd_send(struct bfd_softc *sc, struct mbuf *m) return (sosend(sc->sc_sosend, NULL, NULL, m, NULL, MSG_DONTWAIT)); } -#ifdef DDB /* * Print debug information about this bfd instance */ @@ -991,4 +987,3 @@ bfd_debug(struct bfd_softc *sc) printf("last uptime %llds ", sc->lastuptime); printf("\n"); } -#endif /* DDB */ |