mirror of
https://github.com/ChronosX88/netsukuku.git
synced 2024-11-22 18:22:18 +00:00
ntk-console-server: Show basic internet connectivity
This commit is contained in:
parent
8264979309
commit
39bf5ab020
@ -123,7 +123,10 @@ request_processing(int session_fd, cmd_packet_t packet)
|
|||||||
snprintf(buffer, maxBuffer, "current interface count: %d", me.cur_ifs_n);
|
snprintf(buffer, maxBuffer, "current interface count: %d", me.cur_ifs_n);
|
||||||
break;
|
break;
|
||||||
case COMMAND_INETCONN:
|
case COMMAND_INETCONN:
|
||||||
//send_response(session_fd, (char)me.inet_connected);
|
if (me.inet_connected)
|
||||||
|
snprintf(buffer, maxBuffer, "internet connectivity: true");
|
||||||
|
else
|
||||||
|
snprintf(buffer, maxBuffer, "internet connectivity: false");
|
||||||
break;
|
break;
|
||||||
case COMMAND_CURQSPNID:
|
case COMMAND_CURQSPNID:
|
||||||
//send_response(session_fd, (char)me.cur_qspn_id);
|
//send_response(session_fd, (char)me.cur_qspn_id);
|
||||||
|
Loading…
Reference in New Issue
Block a user