Skip to content

Commit

Permalink
sip/request: fix win32 tcp/tls sa check
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Nov 5, 2023
1 parent a4c0656 commit 3ec1399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sip/request.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ static int connect_handler(struct sa *src, const struct sa *dst,
struct mbuf *cont = NULL;
int err;

if (!sa_isset(src, SA_ALL))
if (!sa_isset(src, SA_PORT))
return EINVAL;

mbuf_set_posend(mb, 0, 0);
Expand Down

0 comments on commit 3ec1399

Please sign in to comment.