/[smecontribs]/rpms/smeserver-wireguard/contribs10/smeserver-wireguard-1.0-Fix-allowedips-in-quick-conf-contents.patch
ViewVC logotype

Contents of /rpms/smeserver-wireguard/contribs10/smeserver-wireguard-1.0-Fix-allowedips-in-quick-conf-contents.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Nov 16 15:31:16 2021 UTC (3 years ago) by brianr
Branch: MAIN
CVS Tags: smeserver-wireguard-1_0-14_el7_sme, smeserver-wireguard-1_0-12_el7_sme, smeserver-wireguard-1_0-19_el7_sme, smeserver-wireguard-1_0-17_el7_sme, smeserver-wireguard-1_0-13_el7_sme, smeserver-wireguard-1_0-16_el7_sme, smeserver-wireguard-1_0-20_el7_sme, smeserver-wireguard-1_0-15_el7_sme, smeserver-wireguard-1_0-18_el7_sme, HEAD
Error occurred while calculating annotation data.
* Tue Nov 16 2021 Brian Read <brianr@bjsystems.co.uk> 1.0-12.sme
- Fix-allowedips-in-quick-conf-contents [SME: 11756]

1 diff -urN smeserver-wireguard-1.0.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/wireguard.pm smeserver-wireguard-1.0/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/wireguard.pm
2 --- smeserver-wireguard-1.0.old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/wireguard.pm 2021-11-15 10:52:02.307734899 +0000
3 +++ smeserver-wireguard-1.0/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/wireguard.pm 2021-11-15 11:05:07.866513374 +0000
4 @@ -229,7 +229,7 @@
5 my $wg0 = $cdb->get('wg-quick@wg0');
6 my $ServPublic = $wg0->prop('public');
7 my $Port = $wg0->prop('UDPPort');
8 -my $allowedips = $wg0->prop('allowedips') || "0.0.0.0/0";
9 +my $allowedips = $acc->prop('allowedips') || "0.0.0.0/0";
10
11 #here we guess wan IP
12 # are we server-gateway mode ? so external lan, should do

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed