Remove code commited by mistake

This commit is contained in:
thorkill 2016-05-30 23:11:50 +02:00
parent 6bd518935f
commit 9a550ff4e3

View file

@ -605,7 +605,6 @@ static void choose_local_address(const node_t *n, const sockaddr_t **sa, int *so
edge_t *candidate = NULL;
if (!n->slpd_address) {
for splay_each(edge_t, e, n->edge_tree) {
if(i++ == j) {
candidate = e;
@ -618,9 +617,6 @@ static void choose_local_address(const node_t *n, const sockaddr_t **sa, int *so
*sock = rand() % listen_sockets;
adapt_socket(*sa, sock);
}
} else {
//*sa = str2sockaddr
}
}
static void send_udppacket(node_t *n, vpn_packet_t *origpkt) {