mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
openvpn_add_dhcpopts already sets redirect-gateway, don't add it a second time. Ticket #6633
This commit is contained in:
parent
eeddd261f7
commit
f8038899f2
@ -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'])) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user