Skip to content

Commit 31f1f46

Browse files
committed
sip/transp: remove HAVE_INET6
1 parent 77c28e3 commit 31f1f46

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/sip/transp.c

-4
Original file line numberDiff line numberDiff line change
@@ -1102,7 +1102,6 @@ static int ws_conn_send(struct sip_connqent **qentp, struct sip *sip,
11021102
}
11031103

11041104

1105-
#if HAVE_INET6
11061105
static int dst_set_scopeid(struct sip *sip, struct sa *dst, enum sip_transp tp)
11071106
{
11081107
struct sa laddr;
@@ -1118,7 +1117,6 @@ static int dst_set_scopeid(struct sip *sip, struct sa *dst, enum sip_transp tp)
11181117
sa_set_scopeid(dst, sa_scopeid(&laddr));
11191118
return 0;
11201119
}
1121-
#endif
11221120

11231121

11241122
int sip_transp_init(struct sip *sip, uint32_t sz)
@@ -1446,11 +1444,9 @@ int sip_transp_send(struct sip_connqent **qentp, struct sip *sip, void *sock,
14461444
return EINVAL;
14471445

14481446
sa_cpy(&dsttmp, dst);
1449-
#if HAVE_INET6
14501447
err = dst_set_scopeid(sip, &dsttmp, tp);
14511448
if (err)
14521449
return err;
1453-
#endif
14541450

14551451
switch (tp) {
14561452

0 commit comments

Comments
 (0)