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
 			//send_response(session_fd, (char)me.cur_qspn_id);
132
 			//send_response(session_fd, (char)me.cur_qspn_id);
133
 			break;
133
 			break;
134
 		case COMMAND_CURIP:
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
 			break;
136
 			break;
137
 		case COMMAND_CURNODE:
137
 		case COMMAND_CURNODE:
138
 			//send_response(session_fd, (char)me.cur_node);
138
 			//send_response(session_fd, (char)me.cur_node);

Loading…
Cancel
Save