freebsd-ports/net/freeswitch/files/patch-src_switch__utils.c
Kai Knoblich bdb2837268 net/freeswitch: Update to 1.8.5
* Introduce new option PGSQL and make it as default one to enable support
  for PostgreSQL database backends
* Also add options for further languages (Brazilian, Chinese and Swedish)
* Correct the description and variables for the Franco-Canadian language
* Remove the now obsolete patch for ffmpeg4 that was added in r468853
* Add a patch to fix the automatic IP address detection with FreeBSD [2]
  which prevents the start of SIP profiles.
* Reset the maintainer due three months of inactivity [2] and missing
  feedback for the actual bug report [1].

PR:		238231 [1], 237268 [2]
Submitted by:	Richard Allen <richard2891@gmail.com> [1] [2]
Approved by:	maintainer timeout (1.5+ months [1], +3 months [2])
2019-07-28 17:11:34 +00:00

11 lines
486 B
C

--- src/switch_utils.c.orig 2019-05-26 01:06:48 UTC
+++ src/switch_utils.c
@@ -1847,7 +1847,7 @@ SWITCH_DECLARE(switch_status_t) switch_f
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);
}