mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-11-26 04:02:19 +00:00
ntk-console-server: Show current IP address. This needs improved.
This commit is contained in:
parent
39bf5ab020
commit
c5352bb134
@ -132,7 +132,7 @@ request_processing(int session_fd, cmd_packet_t packet)
|
|||||||
//send_response(session_fd, (char)me.cur_qspn_id);
|
//send_response(session_fd, (char)me.cur_qspn_id);
|
||||||
break;
|
break;
|
||||||
case COMMAND_CURIP:
|
case COMMAND_CURIP:
|
||||||
//send_response(session_fd, (char)me.cur_ip.data);
|
snprintf(buffer, maxBuffer, "IP: %s", inet_to_str(me.cur_ip));
|
||||||
break;
|
break;
|
||||||
case COMMAND_CURNODE:
|
case COMMAND_CURNODE:
|
||||||
//send_response(session_fd, (char)me.cur_node);
|
//send_response(session_fd, (char)me.cur_node);
|
||||||
|
Loading…
Reference in New Issue
Block a user