summaryrefslogtreecommitdiffstats
path: root/src/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2017-05-22 11:31:45 -0400
committerjim-p <jimp@pfsense.org>2017-05-22 11:31:45 -0400
commit45b5afa4f4dd978ed9adbd1c0673bca5c861d8b5 (patch)
tree12fe7f86ab3c8fb026703fb6a7a40fd04110fce5 /src/etc
parent8ce9725941732f11822121cfb4b51d19ed064533 (diff)
downloadpfsense-45b5afa4f4dd978ed9adbd1c0673bca5c861d8b5.zip
pfsense-45b5afa4f4dd978ed9adbd1c0673bca5c861d8b5.tar.gz
Remove unused WINS code for L2TP. Fixes #7559
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/inc/vpn.inc6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/etc/inc/vpn.inc b/src/etc/inc/vpn.inc
index 7cd3475..6d11f53 100644
--- a/src/etc/inc/vpn.inc
+++ b/src/etc/inc/vpn.inc
@@ -1785,11 +1785,6 @@ function vpn_l2tp_configure() {
$issue_ip_type .= "ippool p0";
}
- $ipcp_nbns = '';
- if (is_ipaddr($l2tpcfg['wins'])) {
- $ipcp_nbns = "set ipcp nbns {$l2tpcfg['wins']}";
- }
-
$ipcp_dns = '';
if (is_ipaddr($l2tpcfg['dns1'])) {
$ipcp_dns = "set ipcp dns " . $l2tpcfg['dns1'];
@@ -1828,7 +1823,6 @@ l2tps:
set ipcp yes vjcomp
{$issue_ip_type}
- {$ipcp_nbns}
{$ipcp_dns}
create link template l2tp_l l2tp
OpenPOWER on IntegriCloud