go-openvswitch icon indicating copy to clipboard operation
go-openvswitch copied to clipboard

dumpPortsPrefix is shown multiple times on ovs with many ports

Open mstinsky opened this issue 2 years ago • 0 comments

Greetings,

while using this library we found that the parsing of the ovs dumpPorts breaks when ovs has a lot of ports because the dumpPortsPrefix "OFPST_PORT reply" can be shown multiple times.

This patch adds a condition to check if we see the dumpPortsPrefix again to continue the loop without parsing it.

mstinsky avatar May 04 '22 12:05 mstinsky