Erlang/OTP Forums

Author Message

<  Erlang patches mailing list  ~  Allow user to specify the IP address epmd binds to

Guest
Posted: Mon Nov 15, 2010 3:27 pm Reply with quote
Guest
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

Holger

________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org

Post received from mailinglist
Guest
Posted: Tue Nov 16, 2010 1:19 pm Reply with quote
Guest
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.


________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org

Post received from mailinglist
Guest
Posted: Wed Nov 17, 2010 9:13 am Reply with quote
Guest
* Michael Santos <michael.santos@gmail.com> [2010-11-16 08:19]:
> On Mon, Nov 15, 2010 at 04:27:05PM +0100, Holger Wei

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum