mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Label PPPoE rules
This commit is contained in:
parent
475ae4ce54
commit
623274891f
@ -2012,11 +2012,16 @@ EOD;
|
||||
if (($defq != "") and ($ackq != ""))
|
||||
$line .= " queue ({$defq}, {$ackq}) ";
|
||||
}
|
||||
$ipfrules .= $line . "\n";
|
||||
$ipfrules .= $line;
|
||||
} else {
|
||||
$ipfrules .= "# Error creating {$rule['descr']} \n";
|
||||
}
|
||||
}
|
||||
// label
|
||||
if($rule['descr'] <> "" and $line <> "")
|
||||
$line .= " label \"USER_RULE_PPPoE: " . $rule['descr'] . "\" \n";
|
||||
else
|
||||
$line .= " label \"USER_RULE_PPPoE\" \n";
|
||||
}
|
||||
} else {
|
||||
$line = generate_user_filter_rule($rule, 0);
|
||||
if($line <> "")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user