From 49624309bed90d05fd60c4b5238ebb8dff8b6095 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=C3=A7i?= Date: Wed, 30 Jul 2008 16:15:31 +0000 Subject: [PATCH] Take into account that pptp might be configured for redir mode too!(Is this mode still needed or should it be set at the port forward tab?!) --- etc/inc/filter.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 197c7c2e68..97eb065dff 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -454,7 +454,7 @@ function generate_optcfg_array() $FilterIflist[$if] = $oic; } - if ($config['pptpd']['mode'] == "server") { + if ($config['pptpd']['mode'] == "server" || $config['pptpd']['mode'] == "redir") { $oic = array(); $oic['if'] = 'pptp'; $oic['descr'] = 'PPTP';