From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4ZkTdw2YkQz331C for ; Fri, 25 Apr 2025 10:31:16 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4ZkTdw2F2bz32dy for ; Fri, 25 Apr 2025 10:31:16 +0000 (UTC) Received: from people01.haj.ipfire.org (people01.haj.ipfire.org [172.28.1.161]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "people01.haj.ipfire.org", Issuer "E6" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4ZkTdv4rBNzkb for ; Fri, 25 Apr 2025 10:31:15 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1745577075; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=023P/WgqeStjC9pt8ZQCL6ny0WAVnBWHjk/63Jnk0JA=; b=D3pJ/Sq/yY8LpwDuytQ+eT3mQPKCLDz2bcL/3JnyEfVwuZLtKPejVxYpBNwqSUqw0nhFnb UkiP+lC1F2SMsYBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1745577075; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=023P/WgqeStjC9pt8ZQCL6ny0WAVnBWHjk/63Jnk0JA=; b=lmndIdFTW/QiPB4j0TE5R3cipBHj1GmI7LJXKB7Y/uBcCBhYT/zoqC04kksoFmYzVKAXGa xJJPmt06snyx6tPYDjoC/tj6KFL2eyIy9vmtprc1DiXCNxcyZhpOdmEtsBA1C/giGr3UYD iUBPvI0MGKplk9pd4oDT7B+0v+bLjCUV5ROJZmHcaqGavbF9ZTcvpoGh4VZBJQ24kgwtNo ZRIl74rts6coQ/5eo7b8PtHCt0pb4Ay1S30BXjzYAVBPpB3ozph5WI86dzvUxOmeWiLOvr 14zcmSwJz/MhT8bI46paV+xeUdFvcgRHEKZczYe84kx2sICFOA62i+CfG+0ufA== Received: by people01.haj.ipfire.org (Postfix, from userid 1000) id 4ZkTdv3rWKz2y6T; Fri, 25 Apr 2025 10:31:15 +0000 (UTC) To: ipfire-scm@lists.ipfire.org Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 25ac8dbdcf88184daa9e41bcc4cc489a5d3a5f11 X-Git-Refname: refs/heads/next X-Git-Reftype: branch X-Git-Oldrev: 9638ab6ea9223e41dc21bc52ee189ab760c02327 X-Git-Newrev: 25ac8dbdcf88184daa9e41bcc4cc489a5d3a5f11 Message-Id: <4ZkTdv3rWKz2y6T@people01.haj.ipfire.org> Date: Fri, 25 Apr 2025 10:31:15 +0000 (UTC) From: Michael Tremer Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: 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, next has been updated via 25ac8dbdcf88184daa9e41bcc4cc489a5d3a5f11 (commit) from 9638ab6ea9223e41dc21bc52ee189ab760c02327 (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 25ac8dbdcf88184daa9e41bcc4cc489a5d3a5f11 Author: Michael Tremer Date: Fri Apr 25 12:30:37 2025 +0200 wireguard-functions.pl: Dereference another array for local subnets Signed-off-by: Michael Tremer ----------------------------------------------------------------------- Summary of changes: config/cfgroot/wireguard-functions.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Difference in files: diff --git a/config/cfgroot/wireguard-functions.pl b/config/cfgroot/wireguard-functions.pl index 8fd873d74..219f9282d 100644 --- a/config/cfgroot/wireguard-functions.pl +++ b/config/cfgroot/wireguard-functions.pl @@ -388,7 +388,7 @@ sub generate_peer_configuration($$) { my @allowed_ips = (); # Convert all subnets into CIDR notation - foreach my $subnet ($peer->{'LOCAL_SUBNETS'}) { + foreach my $subnet (@{ $peer->{'LOCAL_SUBNETS'} }) { my $netaddress = &Network::get_netaddress($subnet); my $prefix = &Network::get_prefix($subnet); hooks/post-receive -- IPFire 2.x development tree