The option was incorrectly named "Port" before.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
push(@conf,
"[Interface]",
"PrivateKey = $private_key",
- "Port = $peer->{'ENDPOINT_PORT'}",
+ "ListenPort = $peer->{'ENDPOINT_PORT'}",
"",
"[Peer]",
"Endpoint = ${endpoint}:$peer->{'PORT'}",
# Store the address
$peer{'LOCAL_ADDRESS'} = ${address};
- # Port
- } elsif ($key eq "Port") {
+ # ListenPort
+ } elsif ($key eq "ListenPort") {
if (&General::validport($val)) {
$peer{'PORT'} = $val;
} else {