summaryrefslogtreecommitdiffstats
path: root/btime.c
diff options
context:
space:
mode:
Diffstat (limited to 'btime.c')
-rw-r--r--btime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/btime.c b/btime.c
index bf90f1c..15d52f1 100644
--- a/btime.c
+++ b/btime.c
@@ -63,7 +63,7 @@ btime(const char *host)
memset(&hints, 0, sizeof hints);
hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_DGRAM;
- if (getaddrinfo(host, "23456", &hints, &serv_ail) != 0) {
+ if (getaddrinfo(host, "5016", &hints, &serv_ail) != 0) {
fprintf(stderr, "Could not get address info for %s: %s\n",
host, strerror(errno));
return 0;