Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
tools
>
floodmon
> floodmon-netmask32.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File floodmon-netmask32.patch of Package floodmon
--- floodmon.orig 2014-01-23 19:38:25.845629422 +0100 +++ floodmon 2014-01-23 19:40:44.017246630 +0100 @@ -339,6 +339,10 @@ $netmask = 8; $regexp_block = '^(\d{1,3})'; $suffix = '.0.0.0'; + } elsif ( $conf{'NETMASK'} == 32 ) { + $netmask = 32; + $regexp_block = '^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})'; + $suffix = ''; } elsif ( $conf{'NETMASK'} == 24 ) { $netmask = 24; $regexp_block = '^(\d{1,3}\.\d{1,3}\.\d{1,3})';