X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=core%2Fconnection.go;h=cfa94eee96f858a20a7d2624c72ebdab5aec7706;hb=ceed73403bdb61387d04be8b47183e9c4a970749;hp=917f1cbd96d9939eb599699285541a82876facf1;hpb=94620e85f0bdbb054af07ce3670fadc1f76cfdf0;p=govpp.git diff --git a/core/connection.go b/core/connection.go index 917f1cb..cfa94ee 100644 --- 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),