Commit 12eb2b1a authored by Franco Fichtner's avatar Franco Fichtner

filter: another crash report

parent 44476dba
......@@ -385,7 +385,7 @@ function filter_generate_scrubing() {
if(isset($scrubcfg['virtual']) || empty($scrubcfg['descr']))
continue;
/* set up MSS clamping */
if($scrubcfg['mss'] <> "" && is_numeric($scrubcfg['mss']) && $scrubcfg['if'] != "pppoe" && $scrubcfg['if'] != "pptp" &&
if($scrubcfg['mss'] <> "" && is_numeric($scrubcfg['mss']) && isset($scrubcfg['if']) && $scrubcfg['if'] != "pppoe" && $scrubcfg['if'] != "pptp" &&
$scrubif['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