Browse Source

ntk-console-server: Show current IP address. This needs improved.

Alexander von Gluck IV 10 years ago
parent
commit
c5352bb134
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/ntk-console-server.c

+ 1
- 1
src/ntk-console-server.c View File

@@ -132,7 +132,7 @@ request_processing(int session_fd, cmd_packet_t packet)
132 132
 			//send_response(session_fd, (char)me.cur_qspn_id);
133 133
 			break;
134 134
 		case COMMAND_CURIP:
135
-			//send_response(session_fd, (char)me.cur_ip.data);
135
+			snprintf(buffer, maxBuffer, "IP: %s", inet_to_str(me.cur_ip));
136 136
 			break;
137 137
 		case COMMAND_CURNODE:
138 138
 			//send_response(session_fd, (char)me.cur_node);

Loading…
Cancel
Save