Skip to content

Commit f46acda

Browse files
committed
Test
1 parent 0cb1c55 commit f46acda

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

net/pfSense-pkg-WireGuard/files/usr/local/pkg/wireguard/includes/wg_api.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -455,11 +455,11 @@ function wg_gateways_set_enable($enable = true) {
455455

456456
wg_write_config("{$action} all WireGuard gateways.", false);
457457

458-
// Now we need to reconfigure the packet filter rules
459-
filter_configure();
460-
461458
// and now restart dpinger
462459
setup_gateways_monitor();
460+
461+
// Now we need to reconfigure the packet filter rules
462+
filter_configure();
463463
}
464464

465465
/*

net/pfSense-pkg-WireGuard/files/usr/local/pkg/wireguard/includes/wg_install.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function wg_deinstall() {
117117
// Stop and remove the WireGuard service
118118
wg_service_deinstall(true);
119119

120-
update_status("done.\n Disabling any WireGuard gateways...");
120+
update_status("done.\n Disabling any WireGuard gateways...");
121121

122122
// Disables any WireGuard gateways as these interfaces are now gone
123123
wg_gateways_set_enable(false);

0 commit comments

Comments
 (0)