Skip to content

Fix comparison of masked flowmod matches in FakeOF#4827

Open
gizmoguy wants to merge 1 commit into
faucetsdn:mainfrom
gizmoguy:fakeof-pkt-match-mask
Open

Fix comparison of masked flowmod matches in FakeOF#4827
gizmoguy wants to merge 1 commit into
faucetsdn:mainfrom
gizmoguy:fakeof-pkt-match-mask

Conversation

@gizmoguy

@gizmoguy gizmoguy commented Jul 15, 2026

Copy link
Copy Markdown
Member

Mask was not applied to both sides of value check, so checking if packet_dict={'ipv4_dst': '10.10.0.1'} matched a flowmod with match ipv4_dst=10.10.0.0/24 would fail.

@gizmoguy gizmoguy changed the title In FakeOF fix comparing packet value matches masked flowmod match In FakeOF fix comparison of masked flowmod matches Jul 15, 2026
@gizmoguy gizmoguy changed the title In FakeOF fix comparison of masked flowmod matches Fix comparison of masked flowmod matches in FakeOF Jul 15, 2026
@gizmoguy gizmoguy force-pushed the fakeof-pkt-match-mask branch from 48b9830 to a9cdcf5 Compare July 15, 2026 01:35
@gizmoguy gizmoguy force-pushed the fakeof-pkt-match-mask branch from a9cdcf5 to eca8acd Compare July 15, 2026 02:11
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.

1 participant