If importing a client configuration, there might not be a port. This is
quite likely to happen with VPN providers that don't create a connection
but are awaiting incoming connections only.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
push(@errormessages, $Lang::tr{'wg missing allowed ips'});
}
- unless (exists $peer{"PORT"}) {
- push(@errormessages, $Lang::tr{'wg missing port'});
- }
-
unless (exists $peer{"ENDPOINT_ADDRESS"}) {
push(@errormessages, $Lang::tr{'wg missing endpoint address'});
}