summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/pfsense-utils.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index d64e6d3d..cd260a9 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -620,11 +620,11 @@ function find_carp_interface($ip) {
function setup_filter_bridge() {
global $config, $g;
if(isset($config['bridge']['filteringbridge'])) {
- mwexec("sysctl net.link.bridge.pfil_member=1");
- mwexec("net.link.bridge.pfil_bridge=1");
+ mwexec("/sbin/sysctl net.link.bridge.pfil_member=1");
+ mwexec("/sbin/sysctl net.link.bridge.pfil_bridge=1");
} else {
- mwexec("sysctl net.link.bridge.pfil_member=0");
- mwexec("sysctl net.link.bridge.pfil_bridge=0");
+ mwexec("/sbin/sysctl net.link.bridge.pfil_member=0");
+ mwexec("/sbin/sysctl net.link.bridge.pfil_bridge=0");
}
}
OpenPOWER on IntegriCloud