summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2016-07-20 19:56:42 -0500
committerChris Buechler <cmb@pfsense.org>2016-07-20 19:56:42 -0500
commitf8038899f250c656b1ef03fe351fb9cfdadeaf0c (patch)
treebd895aeadecba9404c046e6886515889f7535eda /src
parenteeddd261f7a207e9010195b2a857916f683c2281 (diff)
downloadpfsense-f8038899f250c656b1ef03fe351fb9cfdadeaf0c.zip
pfsense-f8038899f250c656b1ef03fe351fb9cfdadeaf0c.tar.gz
openvpn_add_dhcpopts already sets redirect-gateway, don't add it a second time. Ticket #6633
Diffstat (limited to 'src')
-rw-r--r--src/etc/inc/openvpn.inc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/etc/inc/openvpn.inc b/src/etc/inc/openvpn.inc
index 75321f2..f9093eb 100644
--- a/src/etc/inc/openvpn.inc
+++ b/src/etc/inc/openvpn.inc
@@ -1209,10 +1209,6 @@ function openvpn_resync_csc(& $settings) {
openvpn_add_dhcpopts($settings, $conf);
- if ($settings['gwredir']) {
- $conf .= "push \"redirect-gateway def1\"\n";
- }
-
openvpn_add_custom($settings, $conf);
/* Loop through servers, find which ones can use this CSC */
if (is_array($config['openvpn']['openvpn-server'])) {
OpenPOWER on IntegriCloud