diff options
author | Andrey V. Elsukov <ae@FreeBSD.org> | 2017-06-01 10:04:12 +0000 |
---|---|---|
committer | Andrey V. Elsukov <ae@FreeBSD.org> | 2017-06-01 10:04:12 +0000 |
commit | 8e5060a03e57e23ec827e952ee7d0586b44e3a8c (patch) | |
tree | c1f8d2403ac606ed97cb63eb1d27527ac2d128c2 | |
parent | 328c75d6214d00294697b057ed930cefd7658b4d (diff) |
Notes
-rw-r--r-- | sys/netipsec/key_debug.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/netipsec/key_debug.c b/sys/netipsec/key_debug.c index e4dc9ea0c47d..0251d961e8c4 100644 --- a/sys/netipsec/key_debug.c +++ b/sys/netipsec/key_debug.c @@ -77,10 +77,6 @@ static void kdebug_sadb_x_sa2(struct sadb_ext *); static void kdebug_sadb_x_sa_replay(struct sadb_ext *); static void kdebug_sadb_x_natt(struct sadb_ext *); -#ifdef _KERNEL -static void kdebug_secreplay(struct secreplay *); -#endif - #ifndef _KERNEL #define panic(fmt, ...) { printf(fmt, ## __VA_ARGS__); exit(-1); } #endif @@ -724,6 +720,7 @@ kdebug_secash(struct secashead *sah, const char *indent) printf("}\n"); } +#ifdef IPSEC_DEBUG static void kdebug_secreplay(struct secreplay *rpl) { @@ -745,6 +742,7 @@ kdebug_secreplay(struct secreplay *rpl) } printf(" }\n"); } +#endif /* IPSEC_DEBUG */ static void kdebug_secnatt(struct secnatt *natt) |