diff options
-rw-r--r-- | btime.c | 2 | ||||
-rw-r--r-- | btime_int.h | 2 | ||||
-rw-r--r-- | btimed.socket | 2 | ||||
-rw-r--r-- | qacp.c | 2 | ||||
-rw-r--r-- | qarsh.1 | 2 | ||||
-rw-r--r-- | qarsh.c | 2 | ||||
-rw-r--r-- | qarshd.socket | 2 |
7 files changed, 7 insertions, 7 deletions
@@ -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] @@ -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 */ @@ -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 @@ -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] |