diff options
author | Christian Pointner <equinox@anytun.org> | 2014-02-19 23:02:24 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2014-02-19 23:02:24 +0000 |
commit | b658bf6d9e91dad82d52add72ba998b1e65bb8ea (patch) | |
tree | 19b9996c868599bd0a09a8dd753e7a4e353d34ca /src | |
parent | also resetting seq_nr on HUP signal (diff) |
fixed remote end auto detection
Diffstat (limited to 'src')
-rw-r--r-- | src/udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -318,7 +318,7 @@ void udp_update_remote(udp_t* sock, int fd, udp_endpoint_t* remote) if(!sock) return; - if(!(sock->active_sock_) || sock->active_sock_->fd_ == fd) { + if(!(sock->active_sock_) || sock->active_sock_->fd_ != fd) { udp_socket_t* s = sock->socks_; while(s) { if(s->fd_ == fd) { |