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

Fixed a bug that caused flows without instructions/actions (i.e. drop flows)...

Fixed a bug that caused flows without instructions/actions (i.e. drop flows) to throw an exception during serialization. This addresses an issue common to the SFP and the switch flow stats reply serialization (since they both rely on the same core.web serializer).
parent c2e9aed1
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,7 @@ public class OFInstructionListSerializer extends JsonSerializer<List<OFInstructi
} // end switch on instruction
jGen.writeEndObject(); // end specific instruction
} // end for instructions
jGen.writeEndObject();
} // end process instructions (OF1.1+ only)
jGen.writeEndObject(); // end object (either has instructions or a "none":"drop" key:value as specified above)
} // end not-empty instructions (else)
}
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