From 828c498a12d0c0b71c6d91ddd8db5b59326e0120 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 8 Aug 2024 12:43:31 +0200 Subject: [PATCH] core: set proxy option `ipv6` to `auto` by default when creating a new proxy (issue #2164) --- CHANGELOG.md | 2 +- src/core/core-command.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ec94bd69..997690d7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ - **breaking:** irc: rename parameter `-re` to `-raw` in command `/list` ([#2124](https://github.com/weechat/weechat/issues/2124)) - **breaking:** api: add constants for IPv6 and allow force of IPv6 in function hook_connect ([#2164](https://github.com/weechat/weechat/issues/2164)) - **breaking:** irc: convert server option `ipv6` from boolean to enum (disable, auto, force) ([#2164](https://github.com/weechat/weechat/issues/2164)) -- **breaking:** core: convert proxy option `ipv6` from boolean to enum (disable, auto, force) ([#2164](https://github.com/weechat/weechat/issues/2164)) +- **breaking:** core: convert proxy option `ipv6` from boolean to enum (disable, auto, force), set option to `auto` by default when creating a new proxy ([#2164](https://github.com/weechat/weechat/issues/2164)) - core: add option `addreplace` in commands `/bar` and `/proxy` ([#2095](https://github.com/weechat/weechat/issues/2095)) - irc: add option `addreplace` in commands `/ignore`, `/notify` and `/server` ([#2095](https://github.com/weechat/weechat/issues/2095)) - relay: add option `addreplace` in commands `/relay` and `/remote` ([#2095](https://github.com/weechat/weechat/issues/2095)) diff --git a/src/core/core-command.c b/src/core/core-command.c index 027f83179..d66a20539 100644 --- a/src/core/core-command.c +++ b/src/core/core-command.c @@ -5599,7 +5599,7 @@ COMMAND_CALLBACK(proxy) if (error && !error[0]) { /* add proxy */ - if (proxy_new (argv[2], argv[3], "disable", argv[4], argv[5], + if (proxy_new (argv[2], argv[3], "auto", argv[4], argv[5], (argc >= 7) ? argv[6] : NULL, (argc >= 8) ? argv_eol[7] : NULL)) {