From 3ec13995552936683e2808d1dafbb71ade1faf2b Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Sun, 5 Nov 2023 12:53:12 +0100 Subject: [PATCH] sip/request: fix win32 tcp/tls sa check fixes https://github.com/baresip/baresip/issues/2797 --- src/sip/request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sip/request.c b/src/sip/request.c index cb60a8801..4bf29e7c6 100644 --- a/src/sip/request.c +++ b/src/sip/request.c @@ -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);