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 |