diff options
author | Henrik Nord <[email protected]> | 2011-04-08 17:12:46 +0200 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2011-04-08 17:13:15 +0200 |
commit | fc7428eaab27b8cd87a463bd13450ef3362ba67d (patch) | |
tree | 747da4d4641cc619dc2be3c68d2842df30abb654 /erts/epmd/src/epmd_cli.c | |
parent | 5ad09d2928fd4584ce6dc50f44825b3f6d7ef66a (diff) | |
parent | bcf3b3d0d589666575d9b044d0779be2e40e1762 (diff) | |
download | otp-fc7428eaab27b8cd87a463bd13450ef3362ba67d.tar.gz otp-fc7428eaab27b8cd87a463bd13450ef3362ba67d.tar.bz2 otp-fc7428eaab27b8cd87a463bd13450ef3362ba67d.zip |
Merge branch 'hw/epmd-bind-to-address' into dev
* hw/epmd-bind-to-address:
Allow user to specify the IP address epmd binds to
OTP-9213
Diffstat (limited to 'erts/epmd/src/epmd_cli.c')
-rw-r--r-- | erts/epmd/src/epmd_cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/epmd/src/epmd_cli.c b/erts/epmd/src/epmd_cli.c index 7c60ba0420..ac55ba6bb6 100644 --- a/erts/epmd/src/epmd_cli.c +++ b/erts/epmd/src/epmd_cli.c @@ -137,7 +137,7 @@ static int conn_to_epmd(EpmdVars *g) { /* store port number in unsigned short */ unsigned short sport = g->port; - SET_ADDR_LOOPBACK(address, FAMILY, sport); + SET_ADDR(address, EPMD_ADDR_LOOPBACK, sport); } if (connect(connect_sock, (struct sockaddr*)&address, sizeof address) < 0) |