summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnders Bergh <anders1@gmail.com>2015-01-31 17:12:24 +0100
committerSébastien Helleu <flashcode@flashtux.org>2015-02-04 07:48:06 +0100
commit00730c0f9cfb6cf85bb129eacd229d3b9c55ade1 (patch)
tree4852fb0cd6bf07d178a364a6ef96bad8f5790237 /src
parent797e9565f2116532d87467dd833b9c6cf68a9dcf (diff)
downloadweechat-00730c0f9cfb6cf85bb129eacd229d3b9c55ade1.zip
relay: remove v4-mapped addresses in /help relay.network.allowed_ips
v4-mapped addresses aren't used since commit 85339f6.
Diffstat (limited to 'src')
-rw-r--r--src/plugins/relay/relay-config.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/relay/relay-config.c b/src/plugins/relay/relay-config.c
index 8f731d087..3f507dfd3 100644
--- a/src/plugins/relay/relay-config.c
+++ b/src/plugins/relay/relay-config.c
@@ -709,10 +709,8 @@ relay_config_init ()
"allowed_ips", "string",
N_("POSIX extended regular expression with IPs allowed to use relay "
"(case insensitive, use \"(?-i)\" at beginning to make it case "
- "sensitive); if IPv6 is enabled and that connection is made using "
- "IPv4, it will be IPv4-mapped IPv6 address (like: "
- "\"::ffff:127.0.0.1\"), example: "
- "\"^((::ffff:)?123.45.67.89|192.160.*)$\""),
+ "sensitive), example: "
+ "\"^(123.45.67.89|192.160.*)$\""),
NULL, 0, 0, "", NULL, 0, NULL, NULL,
&relay_config_change_network_allowed_ips, NULL, NULL, NULL);
relay_config_network_bind_address = weechat_config_new_option (