Skip to content
Snippets Groups Projects
Commit 15f2c5b8 authored by Ryan Izard's avatar Ryan Izard
Browse files

Merge pull request #497 from JamesMerfeld/master

Corrected bug that was generating an exception when retrieving the icmpv...
parents 90c5702c d97c8b10
No related branches found
No related tags found
No related merge requests found
......@@ -124,7 +124,7 @@ public class StaticFlowEntryPusherResource extends ServerResource {
if (rows.containsKey(StaticFlowEntryPusher.COLUMN_ICMP6_TYPE)) {
icmp6_type = true;
ip6 = true;
if (((String) rows.get(StaticFlowEntryPusher.COLUMN_ICMP_TYPE)).startsWith("0x")) {
if (((String) rows.get(StaticFlowEntryPusher.COLUMN_ICMP6_TYPE)).startsWith("0x")) {
icmp_type = Integer.parseInt(((String) rows.get(StaticFlowEntryPusher.COLUMN_ICMP6_TYPE)).replaceFirst("0x", ""), 16);
} else {
icmp_type = Integer.parseInt((String) rows.get(StaticFlowEntryPusher.COLUMN_ICMP6_TYPE));
......
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