Skip to content

Commit

Permalink
sip: allow requests w/o Max-Forwards header
Browse files Browse the repository at this point in the history
  • Loading branch information
cspiel1 committed Nov 22, 2024
1 parent 760f1d3 commit a85b00e
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 a85b00e

Please sign in to comment.