Commit 2f1872ee authored by Ad Schellevis's avatar Ad Schellevis

(legacy) fix crashreport "PHP Warning: Illegal string offset 'if' in...

(legacy) fix crashreport "PHP Warning:  Illegal string offset 'if' in /usr/local/etc/inc/filter.inc on line 394"
parent 73f18791
......@@ -391,7 +391,7 @@ function filter_generate_scrubing() {
if (
$scrubcfg['mss'] != '' && is_numeric($scrubcfg['mss']) &&
$scrubcfg['if'] != 'pppoe' && $scrubcfg['if'] != 'pptp' &&
$scrubif['if'] != 'l2tp'
$scrubcfg['if'] != 'l2tp'
) {
$mssclamp = "max-mss " . (intval($scrubcfg['mss'] - 40));
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment