Code Review
/
govpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix codec fallback and generate type imports
[govpp.git]
/
core
/
connection.go
diff --git
a/core/connection.go
b/core/connection.go
index
917f1cb
..
cfa94ee
100644
(file)
--- a/
core/connection.go
+++ b/
core/connection.go
@@
-128,7
+128,7
@@
func newConnection(binapi adapter.VppAPI, attempts int, interval time.Duration)
vppClient: binapi,
maxAttempts: attempts,
recInterval: interval,
- codec:
&codec.MsgCodec{}
,
+ codec:
codec.DefaultCodec
,
msgIDs: make(map[string]uint16),
msgMap: make(map[uint16]api.Message),
channels: make(map[uint16]*Channel),