mirror of
https://git.freebsd.org/ports.git
synced 2025-06-11 07:40:40 -04:00
- files/extrapatch-modules.conf needed adjustments after the move to 1.10.x PR: 246515 Reported by: rnoll.bsd@gmail.com
11 lines
500 B
C
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);
|
|
}
|