summaryrefslogtreecommitdiffstats
path: root/btime.c
diff options
context:
space:
mode:
authorNathan Straz <nstraz@redhat.com>2013-09-11 17:32:13 -0400
committerNathan Straz <nstraz@redhat.com>2013-09-11 17:32:13 -0400
commit441a1f8e1eb63464540a8852b246120284fefc11 (patch)
treef1f113c99632b9f48a302c433afcb8c6bff15c06 /btime.c
parentf76901b6a225e796f468354845313088df71f2f7 (diff)
downloadqarsh-441a1f8e1eb63464540a8852b246120284fefc11.zip
qarsh-441a1f8e1eb63464540a8852b246120284fefc11.tar.gz
qarsh-441a1f8e1eb63464540a8852b246120284fefc11.tar.xz
Move to a new port for the new protocol
I don't see any way to coexist with the old "protocol"
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;