diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-12-16 20:33:53 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-12-16 20:33:53 +0100 |
commit | 794958aa7834c6703e369d15b99fe0b38a8edb05 (patch) | |
tree | 3c4aa5d740a19742be18151dafcd261bfdb26a0d /src/fastd.h | |
parent | ee300afb79e9788f98d4c98d4535018f7fdbdcdd (diff) | |
download | fastd-794958aa7834c6703e369d15b99fe0b38a8edb05.tar fastd-794958aa7834c6703e369d15b99fe0b38a8edb05.zip |
resolve: consider all addresses returned for a hostname
Diffstat (limited to 'src/fastd.h')
-rw-r--r-- | src/fastd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fastd.h b/src/fastd.h index b170bb5..d03465d 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -80,7 +80,8 @@ union fastd_peer_address { struct fastd_resolve_return { fastd_remote_t *remote; - fastd_peer_address_t addr; + size_t n_addr; + fastd_peer_address_t addr[]; }; struct fastd_log_file { |