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);