Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

secfilter: some improvements and fixes #1770

Merged
merged 5 commits into from Dec 20, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/modules/secfilter/secfilter.c
Expand Up @@ -513,8 +513,6 @@ static int w_check_ip(struct sip_msg *msg)

if(msg == NULL)
return -1;
if(&msg->rcv.src_ip == NULL)
return -1;

ip.s = ip_addr2a(&msg->rcv.src_ip);
ip.len = strlen(ip.s);
Expand Down