aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index c9eefcdf8..d2ae10472 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -3667,6 +3667,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req)
hp = ast_gethostbyname(host, &ahp);
if (!hp) {
ast_log(LOG_WARNING, "Unable to lookup host in secondary c= line, '%s'\n", c);
+ return -1;
}
}
}
@@ -3693,6 +3694,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req)
hp = ast_gethostbyname(host, &ahp);
if (!hp) {
ast_log(LOG_WARNING, "Unable to lookup host in secondary c= line, '%s'\n", c);
+ return -1;
}
}
}