summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2004-04-05 13:20:59 +0000
committerjkar8572 <jkar8572>2004-04-05 13:20:59 +0000
commit01ec52c3b60f49cd8907a8c38cfd3c373ed87f63 (patch)
treebc9140a6349f2d85883b376fa3e7ac95e549540b
parent7ba50a7021b34521d7318e701f4484c7ff00c00c (diff)
fixed bug in --port argument of rquotad
added reference to setquota to manpages of other tools
-rw-r--r--Changelog2
-rw-r--r--edquota.83
-rw-r--r--repquota.83
-rw-r--r--svc_socket.c2
4 files changed, 8 insertions, 2 deletions
diff --git a/Changelog b/Changelog
index 8809261..b46b9ee 100644
--- a/Changelog
+++ b/Changelog
@@ -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)
diff --git a/edquota.8 b/edquota.8
index 9863752..1d1a2c7 100644
--- a/edquota.8
+++ b/edquota.8
@@ -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)
diff --git a/repquota.8 b/repquota.8
index 59fb853..2826a52 100644
--- a/repquota.8
+++ b/repquota.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;