summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-20 19:52:41 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-20 19:52:41 +0000
commit3e02c819172004414dff81e10ac609684323c5d5 (patch)
treee603c4a0e77887e30275a3ba24a125738f43db9e
parent3bad113b4c0ce6ac8d5982815ec65c821b7bd913 (diff)
downloaddrakx-net-3e02c819172004414dff81e10ac609684323c5d5.tar
drakx-net-3e02c819172004414dff81e10ac609684323c5d5.tar.gz
drakx-net-3e02c819172004414dff81e10ac609684323c5d5.tar.bz2
drakx-net-3e02c819172004414dff81e10ac609684323c5d5.tar.xz
drakx-net-3e02c819172004414dff81e10ac609684323c5d5.zip
(read_nfs_ports) fix listing NFS ports
bug introduced by eugeni in r254161 on Mar 17 2009: "Supporting custom user-defined NFS ports."
-rw-r--r--NEWS2
-rw-r--r--lib/network/nfs.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 3df437c..91dcf97 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,7 @@
- fix CRDA never set to 'US' when country not in CRDA domains
(might help #1015 & the like)
+- drakfirewall:
+ o fix listing NFS ports
1.4:
- adapt to drakxtools-13.92+ API change
diff --git a/lib/network/nfs.pm b/lib/network/nfs.pm
index fb716ed..9a03700 100644
--- a/lib/network/nfs.pm
+++ b/lib/network/nfs.pm
@@ -32,7 +32,7 @@ sub read_nfs_ports() {
rpc_rquotad_port => $rpc_rquotad_port,
};
if (defined $statd_outgoing_port) {
- $ports->{statd_outgoing_port} => $statd_outgoing_port,
+ $ports->{statd_outgoing_port} = $statd_outgoing_port;
}
$ports;
}