From 627858d38c7aa668d257d4ddadd1bc9933549377 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Wed, 5 Aug 2015 14:04:40 +0000 Subject: [PATCH] (legacy) and remove the same unused nbdd in openvpn.inc --- 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 753137ed0..492df37b6 100644 --- a/src/etc/inc/openvpn.inc +++ b/src/etc/inc/openvpn.inc @@ -297,7 +297,6 @@ function openvpn_add_dhcpopts(& $settings, & $conf) { $conf .= "push \"dhcp-option NTP {$settings['ntp_server2']}\"\n"; if ($settings['netbios_enable']) { - if (!empty($settings['dhcp_nbttype']) && ($settings['dhcp_nbttype'] != 0)) $conf .= "push \"dhcp-option NBT {$settings['dhcp_nbttype']}\"\n"; if (!empty($settings['dhcp_nbtscope'])) @@ -307,9 +306,6 @@ function openvpn_add_dhcpopts(& $settings, & $conf) { $conf .= "push \"dhcp-option WINS {$settings['wins_server1']}\"\n"; if (!empty($settings['wins_server2'])) $conf .= "push \"dhcp-option WINS {$settings['wins_server2']}\"\n"; - - if (!empty($settings['nbdd_server1'])) - $conf .= "push \"dhcp-option NBDD {$settings['nbdd_server1']}\"\n"; } if ($settings['gwredir'])