diff options
-rw-r--r-- | net/netfilter/ipvs/ip_vs_pe_sip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/netfilter/ipvs/ip_vs_pe_sip.c b/net/netfilter/ipvs/ip_vs_pe_sip.c index a0539f13e2b4..b8b4e9620f3e 100644 --- a/net/netfilter/ipvs/ip_vs_pe_sip.c +++ b/net/netfilter/ipvs/ip_vs_pe_sip.c | |||
@@ -8,6 +8,7 @@ | |||
8 | #include <net/netfilter/nf_conntrack.h> | 8 | #include <net/netfilter/nf_conntrack.h> |
9 | #include <linux/netfilter/nf_conntrack_sip.h> | 9 | #include <linux/netfilter/nf_conntrack_sip.h> |
10 | 10 | ||
11 | #ifdef CONFIG_IP_VS_DEBUG | ||
11 | static const char *ip_vs_dbg_callid(char *buf, size_t buf_len, | 12 | static const char *ip_vs_dbg_callid(char *buf, size_t buf_len, |
12 | const char *callid, size_t callid_len, | 13 | const char *callid, size_t callid_len, |
13 | int *idx) | 14 | int *idx) |
@@ -22,6 +23,7 @@ static const char *ip_vs_dbg_callid(char *buf, size_t buf_len, | |||
22 | #define IP_VS_DEBUG_CALLID(callid, len) \ | 23 | #define IP_VS_DEBUG_CALLID(callid, len) \ |
23 | ip_vs_dbg_callid(ip_vs_dbg_buf, sizeof(ip_vs_dbg_buf), \ | 24 | ip_vs_dbg_callid(ip_vs_dbg_buf, sizeof(ip_vs_dbg_buf), \ |
24 | callid, len, &ip_vs_dbg_idx) | 25 | callid, len, &ip_vs_dbg_idx) |
26 | #endif | ||
25 | 27 | ||
26 | static int get_callid(const char *dptr, unsigned int dataoff, | 28 | static int get_callid(const char *dptr, unsigned int dataoff, |
27 | unsigned int datalen, | 29 | unsigned int datalen, |