Skip to content

Subnet filters bugfixes#1070

Merged
mattpag merged 3 commits intodevfrom
fix-subnet-filters
Mar 9, 2018
Merged

Subnet filters bugfixes#1070
mattpag merged 3 commits intodevfrom
fix-subnet-filters

Conversation

@mattpag
Copy link
Contributor

@mattpag mattpag commented Mar 6, 2018

  • The handling of the filter fd.net was bugged due to a couple of typos in the code (see commits for more info)
  • Set EPF_FILTER_ONLY on the fd.*net filters since they shouldn't be printed.

mattpag added 3 commits March 6, 2018 15:48
&& used in place of bitwise and, causing every
'fd.net != ...' filter to be (almost) always
true
As in compare_ip(), there's no need to flip the result
of flt_compare since it already takes into account the
operator.
and update the description accordingly.
@mattpag mattpag requested review from luca3m and mstemm March 6, 2018 16:15
@mattpag mattpag merged commit 9658b52 into dev Mar 9, 2018
@mattpag mattpag deleted the fix-subnet-filters branch March 9, 2018 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants