Skip to content

Commit

Permalink
vita/selftest: use fuzzy packet matching
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneia committed Mar 6, 2019
1 parent c584f38 commit 9ff0f1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/program/vita/selftest.snabb
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,10 @@ else
"program/vita/selftest-private-out.pcap")
config.app(c, "public_pcap_out", pcap.PcapReader,
"program/vita/selftest-public-out.pcap")
config.app(c, "match_private", match.Match, {})
config.app(c, "match_private", match.Match, {fuzzy=true})
config.link(c, "private_pcap_out.output -> match_private.comparator")
config.link(c, "private_arp.north -> match_private.rx")
config.app(c, "match_public", match.Match, {})
config.app(c, "match_public", match.Match, {fuzzy=true})
config.link(c, "public_pcap_out.output -> match_public.comparator")
config.link(c, "public_out.output -> match_public.rx")
end
Expand Down
4 changes: 2 additions & 2 deletions src/program/vita/selftest6.snabb
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ else
"program/vita/selftest6-private-out.pcap")
config.app(c, "public_pcap_out", pcap.PcapReader,
"program/vita/selftest6-public-out.pcap")
config.app(c, "match_private", match.Match, {})
config.app(c, "match_private", match.Match, {fuzzy=true})
config.link(c, "private_pcap_out.output -> match_private.comparator")
config.link(c, "private_arp.north -> match_private.rx")
config.app(c, "match_public", match.Match, {})
config.app(c, "match_public", match.Match, {fuzzy=true})
config.link(c, "public_pcap_out.output -> match_public.comparator")
config.link(c, "public_out.output -> match_public.rx")
end
Expand Down

0 comments on commit 9ff0f1f

Please sign in to comment.