Skip to content

Commit

Permalink
sip/transp: allow requests w/o Max-Forwards header (#1217)
Browse files Browse the repository at this point in the history
  • Loading branch information
cspiel1 authored Nov 25, 2024
1 parent 0c6881c commit a07bc3e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/sip/transp.c
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,6 @@ static bool have_essential_fields(const struct sip_msg *msg)
pl_isset(&(msg->from.auri)) &&
pl_isset(&(msg->cseq.met)) &&
pl_isset(&(msg->callid)) &&
(pl_isset(&(msg->maxfwd)) ||
!pl_strncmp(&msg->met, "ACK", 3)) &&
pl_isset(&(msg->via.branch)))
return true;

Expand Down

0 comments on commit a07bc3e

Please sign in to comment.