aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/netfilter/nf_conntrack_sip.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/netfilter/nf_conntrack_sip.c b/net/netfilter/nf_conntrack_sip.c
index 758a1bacc126..2fb666920cc9 100644
--- a/net/netfilter/nf_conntrack_sip.c
+++ b/net/netfilter/nf_conntrack_sip.c
@@ -1515,7 +1515,6 @@ static int sip_help_udp(struct sk_buff *skb, unsigned int protoff,
1515} 1515}
1516 1516
1517static struct nf_conntrack_helper sip[MAX_PORTS][4] __read_mostly; 1517static struct nf_conntrack_helper sip[MAX_PORTS][4] __read_mostly;
1518static char sip_names[MAX_PORTS][4][sizeof("sip-65535")] __read_mostly;
1519 1518
1520static const struct nf_conntrack_expect_policy sip_exp_policy[SIP_EXPECT_MAX + 1] = { 1519static const struct nf_conntrack_expect_policy sip_exp_policy[SIP_EXPECT_MAX + 1] = {
1521 [SIP_EXPECT_SIGNALLING] = { 1520 [SIP_EXPECT_SIGNALLING] = {
@@ -1585,9 +1584,9 @@ static int __init nf_conntrack_sip_init(void)
1585 sip[i][j].me = THIS_MODULE; 1584 sip[i][j].me = THIS_MODULE;
1586 1585
1587 if (ports[i] == SIP_PORT) 1586 if (ports[i] == SIP_PORT)
1588 sprintf(sip_names[i][j], "sip"); 1587 sprintf(sip[i][j].name, "sip");
1589 else 1588 else
1590 sprintf(sip_names[i][j], "sip-%u", i); 1589 sprintf(sip[i][j].name, "sip-%u", i);
1591 1590
1592 pr_debug("port #%u: %u\n", i, ports[i]); 1591 pr_debug("port #%u: %u\n", i, ports[i]);
1593 1592