examples/dnsclient_test : remove log of official hostname
authorJin-Seong Kim <jseong82.kim@samsung.com>
Thu, 25 May 2017 03:40:10 +0000 (12:40 +0900)
committerEunBong Song <eunb.song@samsung.com>
Tue, 11 Jul 2017 01:26:56 +0000 (10:26 +0900)
This commit is to remove log of official hostname
 - gethostbyname API doesn't return official hostname and alias
 - so to prevent user confusion, remove log

Change-Id: I2b3670debf2bc8edb76a5916da3ac64786c342b9
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
apps/examples/dnsclient_test/dnsclient_main.c

index d371be1..f44a83b 100644 (file)
@@ -154,7 +154,6 @@ int dnsclient_main(int argc, char *argv[])
                return -1;
        } else {
                printf("DNS results\n");
-               printf(" Official hostname : %s\n", shost->h_name);
                printf(" IP Address : %s\n", ip_ntoa((ip_addr_t *)shost->h_addr_list[0]));
        }