Browse Source

polished edge's management port output (#805)

pull/813/head
lucktu 3 years ago
committed by GitHub
parent
commit
c4d56574ef
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/edge_utils.c

2
src/edge_utils.c

@ -1906,7 +1906,7 @@ static void readFromMgmtSocket (n2n_edge_t *eee, int *keep_running) {
"COMMUNITY '%s'\n\n", "COMMUNITY '%s'\n\n",
eee->conf.community_name); eee->conf.community_name);
msg_len += snprintf((char *) (udp_buf + msg_len), (N2N_PKT_BUF_SIZE - msg_len), msg_len += snprintf((char *) (udp_buf + msg_len), (N2N_PKT_BUF_SIZE - msg_len),
" ### | TAP | MAC | EDGE | HINT | LAST SEEN | UPTIME \n\n"); " ### | TAP | MAC | EDGE | HINT | LAST SEEN | UPTIME\n");
msg_len += snprintf((char *) (udp_buf + msg_len), (N2N_PKT_BUF_SIZE - msg_len), msg_len += snprintf((char *) (udp_buf + msg_len), (N2N_PKT_BUF_SIZE - msg_len),
"=============================================================================================================\n"); "=============================================================================================================\n");

Loading…
Cancel
Save