From f8038899f250c656b1ef03fe351fb9cfdadeaf0c Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Wed, 20 Jul 2016 19:56:42 -0500 Subject: openvpn_add_dhcpopts already sets redirect-gateway, don't add it a second time. Ticket #6633 --- src/etc/inc/openvpn.inc | 4 ---- 1 file changed, 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'])) { -- cgit v1.1