summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--btime.c2
-rw-r--r--btime_int.h2
-rw-r--r--btimed.socket2
-rw-r--r--qacp.c2
-rw-r--r--qarsh.12
-rw-r--r--qarsh.c2
-rw-r--r--qarshd.socket2
7 files changed, 7 insertions, 7 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;
diff --git a/btime_int.h b/btime_int.h
index 6872fce..84d6936 100644
--- a/btime_int.h
+++ b/btime_int.h
@@ -23,7 +23,7 @@
#ifndef __BTIME_INT_H
#define __BTIME_INT_H
-#define BTIME_PORT 23456
+#define BTIME_PORT 5016
#define BTIME_MSGLEN 128
#define MAX_RETRY 40
diff --git a/btimed.socket b/btimed.socket
index 6988e63..194efa2 100644
--- a/btimed.socket
+++ b/btimed.socket
@@ -2,7 +2,7 @@
Description=btimed - boot time daemon socket
[Socket]
-ListenDatagram=23456
+ListenDatagram=5016
Accept=false
[Install]
diff --git a/qacp.c b/qacp.c
index ccfa7ce..acb6146 100644
--- a/qacp.c
+++ b/qacp.c
@@ -44,7 +44,7 @@
#include "sockutil.h"
#include "qarsh_packet.h"
-#define QARSHD_CONTROL_PORT 5008
+#define QARSHD_CONTROL_PORT 5016
#define QARSH_MINPORT 5010
/* Globals */
diff --git a/qarsh.1 b/qarsh.1
index 2c7e44b..22cc112 100644
--- a/qarsh.1
+++ b/qarsh.1
@@ -34,7 +34,7 @@ sets the remote user to \fIuser\fR. Otherwise the current local user
will be used.
.TP
.BI \-p " port"
-connect to port \fIport\fR instead of the default port of 5008.
+connect to port \fIport\fR instead of the default port of 5016.
.TP
.BI \-t " timeout"
sets the number of seconds to wait when the remote host is not
diff --git a/qarsh.c b/qarsh.c
index 7ae95fc..b77d939 100644
--- a/qarsh.c
+++ b/qarsh.c
@@ -418,7 +418,7 @@ int
main(int argc, char *argv[])
{
int c;
- int port = 5008;
+ int port = 5016;
char *host = NULL;
char *remuser = NULL;
char *remgroup = NULL;
diff --git a/qarshd.socket b/qarshd.socket
index 8d9f3f8..01263d9 100644
--- a/qarshd.socket
+++ b/qarshd.socket
@@ -2,7 +2,7 @@
Description=qarsh Socket for Per-Connection Servers
[Socket]
-ListenStream=5008
+ListenStream=5016
Accept=yes
[Install]