Change default port address to 3086 (3000 is already taken).
Submitted by: Hidekazu Kuroki <hidekazu@cs.titech.ac.jp>
This commit is contained in:
parent
4081ad7d3d
commit
04b40e37a6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=3676
6 changed files with 66 additions and 3 deletions
|
@ -1842,3 +1842,24 @@ diff -arcN ../sj3-2.0.1.13.org/sj3stat/sj3stat.c ./sj3stat/sj3stat.c
|
|||
who[i].hostname, who[i].fd, who[i].progname);
|
||||
}
|
||||
(void) sj3_erase_connection(&clnt);
|
||||
diff -arcN ../sj3-2.0.1.13.old/include/Const.h ./include/Const.h
|
||||
*** ../sj3-2.0.1.13.old/include/Const.h Tue Aug 13 03:13:39 1996
|
||||
--- ./include/Const.h Wed Aug 21 14:01:27 1996
|
||||
***************
|
||||
*** 87,93 ****
|
||||
--- 87,101 ----
|
||||
#define ProtoName "tcp"
|
||||
#define PortNumber "3000"
|
||||
#else
|
||||
+ /*
|
||||
+ * Change the default Port number of sj3 for FreeBSD.
|
||||
+ * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/20
|
||||
+ */
|
||||
+ #ifdef __FreeBSD__
|
||||
+ #define PortNumber 3086
|
||||
+ #else /* ! __FreeBSD__ */
|
||||
#define PortNumber 3000
|
||||
+ #endif /* ! __FreeBSD__ */
|
||||
#endif
|
||||
#define SocketName "/tmp/sj3sock"
|
||||
#define LockFile "/tmp/SJ3SERV.EXIST"
|
||||
|
|
|
@ -7,7 +7,7 @@ conversion library(sj3lib).
|
|||
If you start up sj3serv, you must add a following entry into
|
||||
/etc/services file or NIS/YP services map.
|
||||
|
||||
sj3 3000/tcp
|
||||
sj3 3086/tcp
|
||||
|
||||
This port number may be changed by the setup file(See manpages).
|
||||
|
||||
|
|
|
@ -1842,3 +1842,24 @@ diff -arcN ../sj3-2.0.1.13.org/sj3stat/sj3stat.c ./sj3stat/sj3stat.c
|
|||
who[i].hostname, who[i].fd, who[i].progname);
|
||||
}
|
||||
(void) sj3_erase_connection(&clnt);
|
||||
diff -arcN ../sj3-2.0.1.13.old/include/Const.h ./include/Const.h
|
||||
*** ../sj3-2.0.1.13.old/include/Const.h Tue Aug 13 03:13:39 1996
|
||||
--- ./include/Const.h Wed Aug 21 14:01:27 1996
|
||||
***************
|
||||
*** 87,93 ****
|
||||
--- 87,101 ----
|
||||
#define ProtoName "tcp"
|
||||
#define PortNumber "3000"
|
||||
#else
|
||||
+ /*
|
||||
+ * Change the default Port number of sj3 for FreeBSD.
|
||||
+ * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/20
|
||||
+ */
|
||||
+ #ifdef __FreeBSD__
|
||||
+ #define PortNumber 3086
|
||||
+ #else /* ! __FreeBSD__ */
|
||||
#define PortNumber 3000
|
||||
+ #endif /* ! __FreeBSD__ */
|
||||
#endif
|
||||
#define SocketName "/tmp/sj3sock"
|
||||
#define LockFile "/tmp/SJ3SERV.EXIST"
|
||||
|
|
|
@ -7,7 +7,7 @@ conversion library(sj3lib).
|
|||
If you start up sj3serv, you must add a following entry into
|
||||
/etc/services file or NIS/YP services map.
|
||||
|
||||
sj3 3000/tcp
|
||||
sj3 3086/tcp
|
||||
|
||||
This port number may be changed by the setup file(See manpages).
|
||||
|
||||
|
|
|
@ -1842,3 +1842,24 @@ diff -arcN ../sj3-2.0.1.13.org/sj3stat/sj3stat.c ./sj3stat/sj3stat.c
|
|||
who[i].hostname, who[i].fd, who[i].progname);
|
||||
}
|
||||
(void) sj3_erase_connection(&clnt);
|
||||
diff -arcN ../sj3-2.0.1.13.old/include/Const.h ./include/Const.h
|
||||
*** ../sj3-2.0.1.13.old/include/Const.h Tue Aug 13 03:13:39 1996
|
||||
--- ./include/Const.h Wed Aug 21 14:01:27 1996
|
||||
***************
|
||||
*** 87,93 ****
|
||||
--- 87,101 ----
|
||||
#define ProtoName "tcp"
|
||||
#define PortNumber "3000"
|
||||
#else
|
||||
+ /*
|
||||
+ * Change the default Port number of sj3 for FreeBSD.
|
||||
+ * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/20
|
||||
+ */
|
||||
+ #ifdef __FreeBSD__
|
||||
+ #define PortNumber 3086
|
||||
+ #else /* ! __FreeBSD__ */
|
||||
#define PortNumber 3000
|
||||
+ #endif /* ! __FreeBSD__ */
|
||||
#endif
|
||||
#define SocketName "/tmp/sj3sock"
|
||||
#define LockFile "/tmp/SJ3SERV.EXIST"
|
||||
|
|
|
@ -7,7 +7,7 @@ conversion library(sj3lib).
|
|||
If you start up sj3serv, you must add a following entry into
|
||||
/etc/services file or NIS/YP services map.
|
||||
|
||||
sj3 3000/tcp
|
||||
sj3 3086/tcp
|
||||
|
||||
This port number may be changed by the setup file(See manpages).
|
||||
|
||||
|
|
Loading…
Reference in a new issue