summaryrefslogtreecommitdiff
path: root/src/plugins/xfer
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-06-02 16:01:37 +0200
committerSebastien Helleu <flashcode@flashtux.org>2009-06-02 16:01:37 +0200
commit89701be94f614d751926dae1840013fed757a00e (patch)
tree600efd5d5eff07223a7539e814877cfbd6840d16 /src/plugins/xfer
parent7d34e10c6d60b04f52162398c4c54be4c735296b (diff)
downloadweechat-89701be94f614d751926dae1840013fed757a00e.zip
Add note about ports < 1024 (reserved for root) for listening ports (options xfer.network.port_range and relay.network.listen_port_range)
Diffstat (limited to 'src/plugins/xfer')
-rw-r--r--src/plugins/xfer/xfer-config.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/xfer/xfer-config.c b/src/plugins/xfer/xfer-config.c
index 346cebe8e..caf8be5e1 100644
--- a/src/plugins/xfer/xfer-config.c
+++ b/src/plugins/xfer/xfer-config.c
@@ -230,7 +230,9 @@ xfer_config_init ()
"port_range", "string",
N_("restricts outgoing files/chats to use only ports in the given "
"range (useful for NAT) (syntax: a single port, ie. 5000 or a port "
- "range, ie. 5000-5015, empty value means any port)"),
+ "range, ie. 5000-5015, empty value means any port, it's recommended "
+ "to use ports greater than 1024, because only root can use ports "
+ "below 1024)"),
NULL, 0, 0, "", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL);
xfer_config_network_own_ip = weechat_config_new_option (
xfer_config_file, ptr_section,