X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fprotocol.c;h=4f7e6697653ec3e88590a109df64938a1631ba52;hb=2059814238320b761fb93608b7f8a114de861302;hp=1ec169a00d223a084f4d5deae951a2ec402bf865;hpb=04fc19112da5e7fcefefcf6e490987cdcfb6f620;p=tinc diff --git a/src/protocol.c b/src/protocol.c index 1ec169a0..4f7e6697 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -41,6 +41,8 @@ static bool (*request_handlers[])(connection_t *, const char *) = { add_subnet_h, del_subnet_h, add_edge_h, del_edge_h, key_changed_h, req_key_h, ans_key_h, tcppacket_h, control_h, + NULL, NULL, NULL, /* Not "real" requests (yet) */ + udp_info_h, mtu_info_h, }; /* Request names */ @@ -51,6 +53,7 @@ static char (*request_name[]) = { "PING", "PONG", "ADD_SUBNET", "DEL_SUBNET", "ADD_EDGE", "DEL_EDGE", "KEY_CHANGED", "REQ_KEY", "ANS_KEY", "PACKET", "CONTROL", + "REQ_PUBKEY", "ANS_PUBKEY", "REQ_SPTPS", "UDP_INFO", "MTU_INFO", }; static splay_tree_t *past_request_tree;