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 binapigen decoding and minor improvements
[govpp.git]
/
examples
/
simple-client
/
simple_client.go
diff --git
a/examples/simple-client/simple_client.go
b/examples/simple-client/simple_client.go
index
e3ba83d
..
d823273
100644
(file)
--- a/
examples/simple-client/simple_client.go
+++ b/
examples/simple-client/simple_client.go
@@
-144,7
+144,9
@@
func interfaceDump(ch api.Channel) {
fmt.Println("Dumping interfaces")
n := 0
fmt.Println("Dumping interfaces")
n := 0
- reqCtx := ch.SendMultiRequest(&interfaces.SwInterfaceDump{})
+ reqCtx := ch.SendMultiRequest(&interfaces.SwInterfaceDump{
+ SwIfIndex: ^interface_types.InterfaceIndex(0),
+ })
for {
msg := &interfaces.SwInterfaceDetails{}
stop, err := reqCtx.ReceiveReply(msg)
for {
msg := &interfaces.SwInterfaceDetails{}
stop, err := reqCtx.ReceiveReply(msg)