  
  	  if (inet_pton(AF_INET6,token,&addr6) == 1)
  	    {
-@@ -296,15 +286,6 @@ void run(EpmdVars *g)
+@@ -301,15 +292,6 @@ void run(EpmdVars *g)
  	      epmd_cleanup_exit(g,1);
  	    }
  

From 5b4b994e9c62f7e7f49d1f4a3c3df8d251f73109 Mon Sep 17 00:00:00 2001
From: Stephan Renatus <srenatus@chef.io>
Date: Fri, 23 Jun 2017 10:46:59 +0200
Subject: [PATCH] epmd: require explicitly adding loopback address

Extracted from @msantos' PR:
https://github.com/erlang/otp/pull/1075/commits/0800214dc6aec5327f4e984047dd05a8829ae5e4

Signed-off-by: Stephan Renatus <srenatus@chef.io>
---
 erts/epmd/src/epmd_srv.c | 36 +++---------------------------------
 1 file changed, 3 insertions(+), 33 deletions(-)

diff --git a/erts/epmd/src/epmd_srv.c b/erts/epmd/src/epmd_srv.c
index 66c10a65bc..3b4c3286bb 100644
--- a/erts/epmd/src/epmd_srv.c
+++ b/erts/epmd/src/epmd_srv.c
@@ -206,7 +206,6 @@ void run(EpmdVars *g)
   int i;
   int opt;
   unsigned short sport = g->port;
-  int bound = 0;
 
   node_init(g);
   g->conn = conn_init(g);
@@ -252,14 +251,6 @@ void run(EpmdVars *g)
       char *tmp = NULL;
       char *token = NULL;
 

 	  if ((tmp = strdup(g->addresses)) == NULL)
 	{
 	  dbg_perror(g,"cannot allocate memory");
@@ -278,7 +270,6 @@ void run(EpmdVars *g)
 	  struct in_addr addr;
 #if defined(EPMD6)
 	  struct in6_addr addr6;
