diff options
author | Phil Davis <phil.davis@inf.org> | 2016-07-21 11:54:14 +0930 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2016-07-21 11:54:14 +0930 |
commit | f39ea4c414e916a9c026d0b1f2d631848a5536fb (patch) | |
tree | acd52a0823be25a1603f53ea9048769b659192a9 /src | |
parent | c9d6b915daced9767ff596ee9485ec2d9a573a41 (diff) | |
download | pfsense-f39ea4c414e916a9c026d0b1f2d631848a5536fb.zip pfsense-f39ea4c414e916a9c026d0b1f2d631848a5536fb.tar.gz |
Backport openvpn_add_dhcpopts already sets redirect-gateway
Ticket 6633
Original commit to master was
https://github.com/pfsense/pfsense/commit/f8038899f250c656b1ef03fe351fb9cfdadeaf0c
Adding this PR for completeness so that this is visible as something
that can be back-ported to RELENG_2_3
Diffstat (limited to 'src')
-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 7f2897a..4bc6d20 100644 --- a/src/etc/inc/openvpn.inc +++ b/src/etc/inc/openvpn.inc @@ -1233,10 +1233,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'])) { |