static bool (*request_handlers[NUM_REQUESTS])(meshlink_handle_t *, connection_t *, const char *) = {
[ID] = id_h,
[ACK] = ack_h,
- [STATUS] = status_h,
+ [PSTATUS] = status_h,
[ERROR] = error_h,
[TERMREQ] = termreq_h,
[PING] = ping_h,
static const char *request_name[NUM_REQUESTS] __attribute__((unused)) = {
[ID] = "ID",
[ACK] = "ACK",
- [STATUS] = "STATUS",
+ [PSTATUS] = "STATUS",
[ERROR] = "ERROR",
[TERMREQ] = "TERMREQ",
[PING] = "PING",
typedef enum request_t {
ALL = -1, /* Guardian for allow_request */
ID = 0, METAKEY, CHALLENGE, CHAL_REPLY, ACK,
- STATUS, ERROR, TERMREQ,
+ PSTATUS, ERROR, TERMREQ,
PING, PONG,
ADD_SUBNET, DEL_SUBNET,
ADD_EDGE, DEL_EDGE,