* [git.ipfire.org] IPFire 2.x development tree branch, master, updated. 9ef726eeb272104656baf3c38eca75c4dc5bea10
@ 2025-06-01 14:55 Michael Tremer
0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2025-06-01 14:55 UTC (permalink / raw)
To: ipfire-scm
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, master has been updated
via 9ef726eeb272104656baf3c38eca75c4dc5bea10 (commit)
from 8a31117c0cc6c07aaadfe63f99cfda4c7a6b6ec3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9ef726eeb272104656baf3c38eca75c4dc5bea10
Author: Michael Tremer <michael.tremer@ipfire.org>
Date: Sun Jun 1 15:19:13 2025 +0200
wireguard-functions.pl: Fix ListenPort
The option was incorrectly named "Port" before.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
-----------------------------------------------------------------------
Summary of changes:
config/cfgroot/wireguard-functions.pl | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Difference in files:
diff --git a/config/cfgroot/wireguard-functions.pl b/config/cfgroot/wireguard-functions.pl
index 11451a615..437c345ed 100644
--- a/config/cfgroot/wireguard-functions.pl
+++ b/config/cfgroot/wireguard-functions.pl
@@ -411,7 +411,7 @@ sub generate_peer_configuration($$) {
push(@conf,
"[Interface]",
"PrivateKey = $private_key",
- "Port = $peer->{'ENDPOINT_PORT'}",
+ "ListenPort = $peer->{'ENDPOINT_PORT'}",
"",
"[Peer]",
"Endpoint = ${endpoint}:$peer->{'PORT'}",
@@ -524,8 +524,8 @@ sub parse_configuration($$) {
# 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 {
hooks/post-receive
--
IPFire 2.x development tree
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-06-01 14:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-01 14:55 [git.ipfire.org] IPFire 2.x development tree branch, master, updated. 9ef726eeb272104656baf3c38eca75c4dc5bea10 Michael Tremer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox