]> The Tcpdump Group git mirrors - tcpdump/commit
OpenFlow 1.0: Decode ports the same way as in 1.3.
authorDenis Ovsienko <[email protected]>
Sun, 4 Oct 2020 20:58:32 +0000 (21:58 +0100)
committerDenis Ovsienko <[email protected]>
Thu, 8 Oct 2020 14:23:31 +0000 (15:23 +0100)
commit926f1cc7932975ab6728857a80f985eb84694841
tree435c293a6124f64c63c63156b910ba9868538dcd
parent3059f3581287981d50bce30480bd1aa98ce73caf
OpenFlow 1.0: Decode ports the same way as in 1.3.

The port printing function used to have a loop and a size check, even
though OFPT_PORT_STATUS always has exactly one port. Make it a function
that prints exactly one physical port structure in a linear way and place
the loop and the size check in of10_features_reply_print(), where they
really belong.
print-openflow-1.0.c