diff options
author | jkar8572 <jkar8572> | 2004-04-05 13:20:59 +0000 |
---|---|---|
committer | jkar8572 <jkar8572> | 2004-04-05 13:20:59 +0000 |
commit | 01ec52c3b60f49cd8907a8c38cfd3c373ed87f63 (patch) | |
tree | bc9140a6349f2d85883b376fa3e7ac95e549540b | |
parent | 7ba50a7021b34521d7318e701f4484c7ff00c00c (diff) |
fixed bug in --port argument of rquotad
added reference to setquota to manpages of other tools
-rw-r--r-- | Changelog | 2 | ||||
-rw-r--r-- | edquota.8 | 3 | ||||
-rw-r--r-- | repquota.8 | 3 | ||||
-rw-r--r-- | svc_socket.c | 2 |
4 files changed, 8 insertions, 2 deletions
@@ -1,4 +1,6 @@ Changes in quota-tools from 3.11 to 3.12 +* added reference to setquota(8) to manpages of other tools (Jan Kara) +* fixed bug in --port option of rquotad (Max Kalika) * updated quota documentation (Jan Kara) * disabling nls via configure (Jan Kara) * fixed warning when gettext not used (Peter Breitenlohner) @@ -151,4 +151,5 @@ mounted filesystems table .BR quotactl (2), .BR quotacheck (8), .BR quotaon (8), -.BR repquota (8) +.BR repquota (8), +.BR setquota (8) @@ -138,4 +138,5 @@ default set of groups .BR quotactl (2), .BR edquota (8), .BR quotacheck (8), -.BR quotaon (8) +.BR quotaon (8), +.BR setquota (8) diff --git a/svc_socket.c b/svc_socket.c index bdf8e15..67b786e 100644 --- a/svc_socket.c +++ b/svc_socket.c @@ -73,6 +73,8 @@ static int svc_socket (u_long number, int type, int protocol, int port, int reus port = servp->s_port; } } + else + port = htons(port); if (port) { addr.sin_port = port; |