[erlang-patches] Allow user to specify the IP address epmd binds to

Michael Santos <>
Tue Nov 16 14:19:11 CET 2010


On Mon, Nov 15, 2010 at 04:27:05PM +0100, Holger Wei? wrote:
> This adds an epmd option (and an environment variable) to specify the IP
> address(es) epmd should listen on:
> 
>     git fetch git://github.com/weiss/otp.git epmd-bind-to-address

+      char *tmp = malloc(strlen(g->addresses) + 1);
+      char *token;
+      int loopback_ok = 0;
+
+      strcpy(tmp,g->addresses);

Might want to check if tmp is NULL here and exit if it is.



More information about the erlang-patches mailing list