diff options
author | Chris Buechler <cmb@pfsense.org> | 2016-07-20 19:56:42 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-07-20 19:56:42 -0500 |
commit | f8038899f250c656b1ef03fe351fb9cfdadeaf0c (patch) | |
tree | bd895aeadecba9404c046e6886515889f7535eda | |
parent | eeddd261f7a207e9010195b2a857916f683c2281 (diff) | |
download | pfsense-f8038899f250c656b1ef03fe351fb9cfdadeaf0c.zip pfsense-f8038899f250c656b1ef03fe351fb9cfdadeaf0c.tar.gz |
openvpn_add_dhcpopts already sets redirect-gateway, don't add it a second time. Ticket #6633
-rw-r--r-- | src/etc/inc/openvpn.inc | 4 |
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'])) { |