From c5352bb13447b8e4e8757177c3848f965bad5534 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Tue, 16 Sep 2014 19:04:20 -0500 Subject: [PATCH] ntk-console-server: Show current IP address. This needs improved. --- src/ntk-console-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ntk-console-server.c b/src/ntk-console-server.c index 2c65a8e..234af5d 100644 --- a/src/ntk-console-server.c +++ b/src/ntk-console-server.c @@ -132,7 +132,7 @@ request_processing(int session_fd, cmd_packet_t packet) //send_response(session_fd, (char)me.cur_qspn_id); break; case COMMAND_CURIP: - //send_response(session_fd, (char)me.cur_ip.data); + snprintf(buffer, maxBuffer, "IP: %s", inet_to_str(me.cur_ip)); break; case COMMAND_CURNODE: //send_response(session_fd, (char)me.cur_node);