Browse Source

updrelay: cleanup

pull/2619/head
babarosaM33 4 years ago
parent
commit
a5111fe32f
1 changed files with 0 additions and 6 deletions
  1. 6
      src/udprelay.c

6
src/udprelay.c

@ -1347,12 +1347,6 @@ server_recv_cb(EV_P_ ev_io *w, int revents)
}
}
} else {
struct addrinfo hints;
memset(&hints, 0, sizeof(struct addrinfo));
hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_DGRAM;
hints.ai_protocol = IPPROTO_UDP;
struct query_ctx *query_ctx = new_query_ctx(buf->data + addr_header_len,
buf->len - addr_header_len);
query_ctx->server_ctx = server_ctx;

Loading…
Cancel
Save