diff options
Diffstat (limited to 'cmd/vpp-proxy/main.go')
-rw-r--r-- | cmd/vpp-proxy/main.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cmd/vpp-proxy/main.go b/cmd/vpp-proxy/main.go index d1af5df..3c85bcf 100644 --- a/cmd/vpp-proxy/main.go +++ b/cmd/vpp-proxy/main.go @@ -35,8 +35,10 @@ var ( ) func init() { - for _, msg := range api.GetRegisteredMessages() { - gob.Register(msg) + for _, msgList := range api.GetRegisteredMessages() { + for _, msg := range msgList { + gob.Register(msg) + } } } |