X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fprotocol.c;h=f533a932c6e94dfee216073260db53e0155e59ae;hp=efb9a18e6df01d25dad4856d265dfe3f8b25b2eb;hb=706d855e507980de3845556989d7de7a3b9c76e8;hpb=95594f47384b60a6f994f0fca6fd9f79b2b283aa diff --git a/src/protocol.c b/src/protocol.c index efb9a18e..f533a932 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -41,7 +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) */ + NULL, NULL, /* Not "real" requests (yet) */ + sptps_tcppacket_h, udp_info_h, mtu_info_h, }; @@ -53,7 +54,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", + "REQ_PUBKEY", "ANS_PUBKEY", "SPTPS_PACKET", "UDP_INFO", "MTU_INFO", }; static splay_tree_t *past_request_tree;