diff options
author | Ondrej Fabry <ofabry@cisco.com> | 2018-08-23 22:51:56 +0200 |
---|---|---|
committer | Ondrej Fabry <ofabry@cisco.com> | 2018-08-24 12:43:05 +0200 |
commit | 6b350c65fe0ec845cecf58bfb41ffc63dc9c04f7 (patch) | |
tree | 6255495854f43ec2f2d11f88990369aadb48db3f /examples/bin_api/af_packet/af_packet.ba.go | |
parent | 892683bef86cacc2ccda2b4df2b079171bd92164 (diff) |
Simplify subscribing to events and fix events
- there is no need for sending subscription requests through channels,
since all the messages are registered and no communication with VPP
is needed
Change-Id: Ibc29957be02a32e26309f66c369a071559b822a9
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'examples/bin_api/af_packet/af_packet.ba.go')
-rw-r--r-- | examples/bin_api/af_packet/af_packet.ba.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/bin_api/af_packet/af_packet.ba.go b/examples/bin_api/af_packet/af_packet.ba.go index a6bdc93..144bf74 100644 --- a/examples/bin_api/af_packet/af_packet.ba.go +++ b/examples/bin_api/af_packet/af_packet.ba.go @@ -18,6 +18,7 @@ import "github.com/lunixbochs/struc" import "bytes" // Reference imports to suppress errors if they are not otherwise used. +var _ = api.RegisterMessage var _ = struc.Pack var _ = bytes.NewBuffer |