diff options
author | 2019-06-04 14:47:19 +0200 | |
---|---|---|
committer | 2019-06-04 14:47:19 +0200 | |
commit | 0ff02b6b1f0757f5e4c011457757bd18d0a60f01 (patch) | |
tree | 599d8a351942ba63b2418da737d7f9e10b6c0973 /adapter/socketclient | |
parent | 3f0489044a1fbc6539aa8c57ffce6d7b00de7d82 (diff) |
Fix union data size for types with enums
- this also fixed proper alphabetical order for struct tags
- env var DEBUG_BINAPI_GENERATOR=y can be used to enable debug mode
Change-Id: I5b08a696ad2ff2a297872f231f9229cd956ee443
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'adapter/socketclient')
-rw-r--r-- | adapter/socketclient/socketclient.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adapter/socketclient/socketclient.go b/adapter/socketclient/socketclient.go index c80af36..4a76df2 100644 --- a/adapter/socketclient/socketclient.go +++ b/adapter/socketclient/socketclient.go @@ -464,7 +464,7 @@ func (c *vppClient) read() ([]byte, error) { return nil, nil } if n != 16 { - Log.Debug("invalid header data (%d): % 0X", n, header[:n]) + Log.Debugf("invalid header data (%d): % 0X", n, header[:n]) return nil, fmt.Errorf("invalid header (expected 16 bytes, got %d)", n) } Log.Debugf(" - read header %d bytes: % 0X", n, header) |