Revision 86040ba2
Added by Renato Botelho over 5 years ago
src/etc/inc/easyrule.inc | ||
---|---|---|
110 | 110 |
$filterent['source']['address'] = $blockaliasname . strtoupper($int); |
111 | 111 |
$filterent['destination']['any'] = ''; |
112 | 112 |
$filterent['descr'] = gettext("Easy Rule: Blocked from Firewall Log View"); |
113 |
/* Do not translate this, it's considered a username which cannot contain international characters */ |
|
114 | 113 |
$filterent['created'] = make_config_revision_entry(null, "Easy Rule"); |
115 | 114 |
$filterent['tracker'] = (int)microtime(true); |
116 | 115 |
|
... | ... | |
326 | 325 |
pconfig_to_address($filterent['source'], $srchost, $srcmask); |
327 | 326 |
pconfig_to_address($filterent['destination'], $dsthost, $dstmask, '', $dstport, $dstport); |
328 | 327 |
|
329 |
/* Do not translate this, it's considered a username which cannot contain international characters */ |
|
330 | 328 |
$filterent['created'] = make_config_revision_entry(null, "Easy Rule"); |
331 | 329 |
$filterent['tracker'] = (int)microtime(true); |
332 | 330 |
$a_filter[] = $filterent; |
Also available in: Unified diff
Remove deprecated comments since username tag got CDATA
(cherry picked from commit 1dcaf2d816721704bfb05ae2587c09e37c873e71)