diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2014-09-26 20:52:24 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2014-09-26 21:32:16 +0200 |
commit | 3ecf06ba468792c54bb8fd4e0804430ba0ab9cfd (patch) | |
tree | dd0905920850217a12059dbfd1535adc9cae2293 /ponymap.c | |
parent | 31bb98c995e84f1d2174d9e68e95145bc78a5eba (diff) | |
download | ponymap-3ecf06ba468792c54bb8fd4e0804430ba0ab9cfd.tar.gz ponymap-3ecf06ba468792c54bb8fd4e0804430ba0ab9cfd.tar.xz ponymap-3ecf06ba468792c54bb8fd4e0804430ba0ab9cfd.zip |
Fix subnet targets
Diffstat (limited to 'ponymap.c')
-rw-r--r-- | ponymap.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1773,7 +1773,7 @@ add_target (struct app_context *ctx, const char *target) struct addrinfo hints = { .ai_family = AF_INET }; struct addrinfo *result; - int err = getaddrinfo (target, NULL, &hints, &result); + int err = getaddrinfo (host, NULL, &hints, &result); if (err) { print_error ("cannot resolve `%s': %s", host, gai_strerror (err)); |