Browse Source

Merge pull request #2619 from babarosaM33/master

updrelay: cleanup
pull/2626/head
Max Lv 4 years ago
committed by GitHub
parent
commit
f5c140dc1f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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 { } 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, struct query_ctx *query_ctx = new_query_ctx(buf->data + addr_header_len,
buf->len - addr_header_len); buf->len - addr_header_len);
query_ctx->server_ctx = server_ctx; query_ctx->server_ctx = server_ctx;

Loading…
Cancel
Save