diff options
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index a6caf0bea..8cda5a9bc 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -3705,6 +3705,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; } } } @@ -3731,6 +3732,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; } } } |