digitalocean / go-openvswitch

Go packages which enable interacting with Open vSwitch and related tools. Apache 2.0 Licensed.
Other
295 stars 95 forks source link

ovsnl: add ovsh.Header byte functions, correct Datapath.List data #7

Closed mdlayher closed 6 years ago

mdlayher commented 6 years ago

I realized that the Datapath.List query was only working coincidentally because a uint32 and an ovsh.Header occupy the same size in memory. This is the correct version, although it is functionally equivalent.

digitalocean-engineering commented 6 years ago

LGTM