diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-01-08 08:14:07 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-01-08 08:14:07 +0100 |
commit | 7d1ad59ddea7d621840df182758c54f1e02f9daf (patch) | |
tree | 3772b7b097ef88dbb477198efe9af99d03daca86 /src/plugins | |
parent | 1a646d5dbfac8710abb8401e49de2c7232dbddc5 (diff) | |
download | weechat-7d1ad59ddea7d621840df182758c54f1e02f9daf.zip |
relay: add message when address family is not supported by protocol (on socket creation)
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/relay/relay-server.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/relay/relay-server.c b/src/plugins/relay/relay-server.c index 28fc659fa..4f4f61b06 100644 --- a/src/plugins/relay/relay-server.c +++ b/src/plugins/relay/relay-server.c @@ -382,6 +382,12 @@ relay_server_create_socket (struct t_relay_server *server) _("%s%s: cannot create socket: error %d %s"), weechat_prefix ("error"), RELAY_PLUGIN_NAME, errno, strerror (errno)); + if (errno == EAFNOSUPPORT) + { + weechat_printf (NULL, + _("%s%s: try /set relay.network.ipv6 off"), + weechat_prefix ("error"), RELAY_PLUGIN_NAME); + } return 0; } |