/[smecontribs]/rpms/smeserver-wireguard/contribs10/smeserver-wireguard-1.0-Alter-menu-category-for-new-arrangement.patch
ViewVC logotype

Contents of /rpms/smeserver-wireguard/contribs10/smeserver-wireguard-1.0-Alter-menu-category-for-new-arrangement.patch

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


Revision 1.1 - (show annotations) (download)
Fri Mar 1 14:43:55 2024 UTC (8 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-wireguard-1_0-20_el7_sme, smeserver-wireguard-1_0-19_el7_sme, HEAD
* Fri Mar 01 2024 Brian Read <brianr@koozali.org> 1.0-19.sme
- Edit SM2 Menu entry to conform to new arrangements [SME: 12493]

1 diff -urN smeserver-wireguard-1.0.old/root/usr/share/smanager/lib/SrvMngr/Controller/Wireguard.pm smeserver-wireguard-1.0/root/usr/share/smanager/lib/SrvMngr/Controller/Wireguard.pm
2 --- smeserver-wireguard-1.0.old/root/usr/share/smanager/lib/SrvMngr/Controller/Wireguard.pm 2024-03-01 13:48:26.304670011 +0000
3 +++ smeserver-wireguard-1.0/root/usr/share/smanager/lib/SrvMngr/Controller/Wireguard.pm 2024-03-01 14:31:35.288632116 +0000
4 @@ -1,9 +1,9 @@
5 package SrvMngr::Controller::Wireguard;
6
7 #----------------------------------------------------------------------
8 -# heading : Configuration
9 +# heading : VPN
10 # description : Wireguard
11 -# navigation : 6000 6750
12 +# navigation : 6500 100
13 #
14 # name : wireguard, method : get, url : /wireguard, ctlact : wireguard#main
15 # name : wireguardd, method : post, url : /wireguard, ctlact : wireguard#do_display
16 @@ -348,7 +348,7 @@
17 # Test Ip is inside CIDR
18 if (!test_for_private_ip($ip,$mask)) {
19 $msg = "IP must be in private range";
20 - $fm->error($msg);return;
21 + #$fm->error($msg);return;
22 }
23
24 $cdb->get('wg-quick@wg0')->merge_props(%props)

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