openvpn/tests
Marco Baffo 5e4c9a69ea PUSH_UPDATE server: remove old IP(s) from vhash after sending a message containing ifconfig(-ipv6)
When sending a PUSH_UPDATE containing an ifconfig(-ipv6) option, we must add the new IP to the
multi_context vhash (hash table of the clients indexed by virtual IPs). Now in addition to
adding new client IPs, old IPs are also removed from vhash, allowing for a more complete update.

Change-Id: I07a8ddd9026eef64b6f5abde98702a9801616a5f
Signed-off-by: Marco Baffo <marco@mandelbit.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1253
Message-Id: <20251017201916.21697-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg33412.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
2025-10-17 22:24:11 +02:00
..
unit_tests PUSH_UPDATE server: remove old IP(s) from vhash after sending a message containing ifconfig(-ipv6) 2025-10-17 22:24:11 +02:00
lwip_client_up.sh Add lwip support to t_server_null 2025-03-08 09:49:51 +01:00
Makefile.am Update copyright statements to 2025 2025-05-31 22:38:38 +02:00
ntlm_support.c Reformat the whole project with clang-format 2025-08-04 21:40:22 +02:00
null_client_up.sh Add t_server_null test suite 2024-06-18 22:41:51 +02:00
t_client.rc-sample t_client.sh: Allow to skip tests 2024-03-08 12:27:05 +01:00
t_client.sh.in t_client.sh: Do not wait 3 seconds for OpenVPN to come up 2025-08-08 07:45:44 +02:00
t_cltsrv-down.sh build: standard directory layout 2012-03-22 22:07:08 +01:00
t_cltsrv.sh Update GPL header in all source files to current recommended version 2025-08-03 16:55:47 +02:00
t_lpback.sh Update GPL header in all source files to current recommended version 2025-08-03 16:55:47 +02:00
t_net.sh tests: Allow to override openvpn binary used 2023-05-16 17:57:48 +02:00
t_server_null.rc-sample t_server_null: multiple improvements and fixes 2024-07-04 22:26:32 +02:00
t_server_null.sh t_server_null: use wait instead of marker files 2024-10-26 11:50:18 +02:00
t_server_null_client.sh Add lwip support to t_server_null 2025-03-08 09:49:51 +01:00
t_server_null_default.rc Add sample FFDH parameters file and use that in t_server_null tests 2025-08-21 15:26:26 +02:00
t_server_null_server.sh t_server_null: print error when server startup fails 2025-06-18 18:07:13 +02:00
t_server_null_stress.sh t_server_null: multiple improvements and fixes 2024-07-04 22:26:32 +02:00
update_t_client_ips.sh Prevent generation of duplicate EXPECT_IFCONFIG entries 2016-11-08 15:09:52 +01:00