Revision daffbc34
Added by Jim Pingle over 12 years ago
etc/inc/easyrule.inc | ||
---|---|---|
272 | 272 |
if ($proto == "icmp") |
273 | 273 |
$filterent['icmptype'] = 'echoreq'; |
274 | 274 |
|
275 |
if (strtolower($proto) == "icmp6") |
|
276 |
$filterent['protocol'] = "icmp"; |
|
277 |
|
|
275 | 278 |
if (is_subnet($srchost)) { |
276 | 279 |
list($srchost, $srcmask) = explode("/", $srchost); |
277 | 280 |
} elseif (is_specialnet($srchost)) { |
Also available in: Unified diff
While I'm here, fix an IPv6 ICMP easy rule issue.