|
@@ -123,7 +123,10 @@ request_processing(int session_fd, cmd_packet_t packet)
|
123
|
123
|
snprintf(buffer, maxBuffer, "current interface count: %d", me.cur_ifs_n);
|
124
|
124
|
break;
|
125
|
125
|
case COMMAND_INETCONN:
|
126
|
|
- //send_response(session_fd, (char)me.inet_connected);
|
|
126
|
+ if (me.inet_connected)
|
|
127
|
+ snprintf(buffer, maxBuffer, "internet connectivity: true");
|
|
128
|
+ else
|
|
129
|
+ snprintf(buffer, maxBuffer, "internet connectivity: false");
|
127
|
130
|
break;
|
128
|
131
|
case COMMAND_CURQSPNID:
|
129
|
132
|
//send_response(session_fd, (char)me.cur_qspn_id);
|