Skip to content
Snippets Groups Projects
Commit e77701a1 authored by Kuang-Ching Wang's avatar Kuang-Ching Wang
Browse files

Merge pull request #359 from Sovietaced/sovietaced

Floodlight-40-Small logical error, allowed me to push infinite rules with the same dat...
parents dab5acb9 0cdcbf5b
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,7 @@ public class FirewallRule implements Comparable<FirewallRule> {
public boolean isSameAs(FirewallRule r) {
if (this.action != r.action
|| this.wildcard_dl_type != r.wildcard_dl_type
|| (this.wildcard_dl_type == false && this.dl_type == r.dl_type)
|| (this.wildcard_dl_type == false && this.dl_type != r.dl_type)
|| this.wildcard_tp_src != r.wildcard_tp_src
|| (this.wildcard_tp_src == false && this.tp_src != r.tp_src)
|| this.wildcard_tp_dst != r.wildcard_tp_dst
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment