servers.pm: fix to check gopher6 server on its ipv6 port

Found by Codex Security

Closes #21016
This commit is contained in:
Viktor Szakats 2026-03-19 20:54:43 +01:00
parent 43397b0283
commit 585955cd9a
No known key found for this signature in database

View file

@ -2461,7 +2461,7 @@ sub startservers {
elsif($what eq "gopher-ipv6") {
if($run{'gopher-ipv6'} &&
!responsive_http_server("gopher", $verbose, "ipv6",
protoport("gopher"))) {
protoport("gopher6"))) {
if(stopserver('gopher-ipv6')) {
return ("failed stopping unresponsive GOPHER-IPv6 server", 3);
}