ports/net/freeswitch/files/patch-src_switch__utils.c
Kurt Jaeger 7cd2ac3d5d net/freeswitch: fix build with ALL_MODULES selected
- files/extrapatch-modules.conf needed adjustments after the move to 1.10.x

PR:		246515
Reported by:	rnoll.bsd@gmail.com
2020-05-24 08:13:06 +00:00

11 lines
500 B
C

--- src/switch_utils.c.orig 2020-05-12 10:19:16 UTC
+++ src/switch_utils.c
@@ -1945,7 +1945,7 @@ SWITCH_DECLARE(switch_status_t) switch_find_local_ip(c
goto doh;
}
- switch_copy_string(buf, get_addr(abuf, sizeof(abuf), (struct sockaddr *) &iface_out, sizeof(struct sockaddr_storage)), len);
+ switch_copy_string(buf, get_addr(abuf, sizeof(abuf), (struct sockaddr *) &iface_out, sizeof(iface_out)), len);
if (mask) {
get_netmask((struct sockaddr_in *) &iface_out, mask);
}