]> git.ipfire.org Git - people/mfischer/ipfire-2.x.git/commit
wireguard-functions.pl: Return a hash reference instead of a hash when loading a...
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 22 Apr 2025 17:47:23 +0000 (19:47 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 22 Apr 2025 17:47:23 +0000 (19:47 +0200)
commit3f538a827627ae70fc2c892abab6e8d73f73aaad
tree97d7f643f8443f2162ce1aab3f5e9c9a29c94b75
parent60dd0f8f15d1b70e0692c933dcf374dd329ee365
wireguard-functions.pl: Return a hash reference instead of a hash when loading a peer

Perl is so absolutely fucking broken and dealing with hashes is such a
massive pain in the rear. I don't want to see this any more.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/cfgroot/wireguard-functions.pl
html/cgi-bin/firewall.cgi
html/cgi-bin/wireguard.cgi