Skip to content
Snippets Groups Projects
Commit 870ecf45 authored by Shudong Zhou's avatar Shudong Zhou
Browse files

Fix null exception in message filter

parent a10e1b72
No related branches found
No related tags found
No related merge requests found
......@@ -513,8 +513,10 @@ public class OFMessageFilterManager implements IOFMessageListener {
sb.append(pktOut.getInPort());
sb.append("\nactions_len: ");
sb.append(pktOut.getActionsLength());
sb.append("\nactions: ");
sb.append(pktOut.getActions().toString());
if (pktOut.getActions() != null) {
sb.append("\nactions: ");
sb.append(pktOut.getActions().toString());
}
break;
case FLOW_MOD:
......@@ -544,8 +546,10 @@ public class OFMessageFilterManager implements IOFMessageListener {
sb.append(fm.getBufferId());
sb.append(" flg: ");
sb.append(fm.getFlags());
sb.append("\nactions: ");
sb.append(fm.getActions().toString());
if (fm.getActions() != null) {
sb.append("\nactions: ");
sb.append(fm.getActions().toString());
}
break;
default:
......
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