diff options
Diffstat (limited to 'net/netfilter')
-rw-r--r-- | net/netfilter/nf_conntrack_sip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/nf_conntrack_sip.c b/net/netfilter/nf_conntrack_sip.c index da5dec6e6158..f3915f8724f9 100644 --- a/net/netfilter/nf_conntrack_sip.c +++ b/net/netfilter/nf_conntrack_sip.c | |||
@@ -145,6 +145,7 @@ static int parse_addr(const struct nf_conn *ct, const char *cp, | |||
145 | int family = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.l3num; | 145 | int family = ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.l3num; |
146 | int ret = 0; | 146 | int ret = 0; |
147 | 147 | ||
148 | memset(addr, 0, sizeof(*addr)); | ||
148 | switch (family) { | 149 | switch (family) { |
149 | case AF_INET: | 150 | case AF_INET: |
150 | ret = in4_pton(cp, limit - cp, (u8 *)&addr->ip, -1, &end); | 151 | ret = in4_pton(cp, limit - cp, (u8 *)&addr->ip, -1, &end); |