Skip to content
Snippets Groups Projects
Commit 21499591 authored by kwanggithub's avatar kwanggithub
Browse files

minor addition of IPv4 dl_type input handling to FirewallRulesResource

parent 0d4de9e9
No related branches found
No related tags found
No related merge requests found
......@@ -182,6 +182,10 @@ public class FirewallRulesResource extends ServerResource {
rule.wildcard_dl_type = false;
rule.dl_type = Ethernet.TYPE_ARP;
}
if (tmp.equalsIgnoreCase("IPv4")) {
rule.wildcard_dl_type = false;
rule.dl_type = Ethernet.TYPE_IPv4;
}
}
else if (n == "src-ip") {
......
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