[BlueOnyx:27035] Unable to delete IPv6 in Vsite
Tomohiro Hosaka
bokutin at gmail.com
Tue Jun 11 09:24:56 -05 2024
Hello.
System is configured for IPv4 and IPv6.
Vsite is also configured for both.
After that, I tried to empty IPv6 in Vsite, but it is not saved.
I think the code below is wrong.
--- /usr/sausalito/handlers/base/vsite/ipv4_ipv6_check.pl.orig
2024-06-11 23:18:20.614509383 +0900
+++ /usr/sausalito/handlers/base/vsite/ipv4_ipv6_check.pl
2024-06-11 23:18:37.110617288 +0900
@@ -62,7 +62,7 @@
exit(1);
}
-if ((($system->{IPType} eq 'VZBOTH') || ($system->{IPType} eq
'BOTH')) && (($vsite_new->{ipaddr} eq '') && ($vsite_new->{ipaddrIPv6}
eq ''))) {
+if ((($system->{IPType} eq 'VZBOTH') || ($system->{IPType} eq
'BOTH')) && (($vsite->{ipaddr} eq '') && ($vsite->{ipaddrIPv6} eq
''))) {
$cce->bye('FAIL',
"[[base-vsite.IPValidation_ip_must_be_specified,fqdn='$vsite_old->{fqdn}']]");
&debug_msg("Fail: IPv4 IP Address empty and IPv6 IP empty. At
least one must be set!\n");
exit(1);
$vsite_new is only the difference and $vsite_new is the changed data?
Thanks
More information about the Blueonyx
mailing list