From e07e91ac9c5134dd3d4cd8a001bd44b79bed6b97 Mon Sep 17 00:00:00 2001 From: lxsang Date: Mon, 5 Jun 2017 19:14:17 +0200 Subject: [PATCH] node daemon ex --- plugins/nodedaemon/nodedaemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/nodedaemon/nodedaemon.c b/plugins/nodedaemon/nodedaemon.c index 2079e2b..70c5ce3 100644 --- a/plugins/nodedaemon/nodedaemon.c +++ b/plugins/nodedaemon/nodedaemon.c @@ -22,7 +22,7 @@ struct master_conf_t mconfig; call __init__ = init; -char* get_ip_address() +/*char* get_ip_address() { struct ifaddrs* addrs; getifaddrs(&addrs); @@ -41,7 +41,7 @@ char* get_ip_address() } freeifaddrs(addrs); return "127.0.0.1"; -} +}*/ int inform_master() { int sockfd;