diff options
Diffstat (limited to 'examples/simple-client/simple_client.go')
-rw-r--r-- | examples/simple-client/simple_client.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/simple-client/simple_client.go b/examples/simple-client/simple_client.go index e3ba83d..d823273 100644 --- 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 - reqCtx := ch.SendMultiRequest(&interfaces.SwInterfaceDump{}) + reqCtx := ch.SendMultiRequest(&interfaces.SwInterfaceDump{ + SwIfIndex: ^interface_types.InterfaceIndex(0), + }) for { msg := &interfaces.SwInterfaceDetails{} stop, err := reqCtx.ReceiveReply(msg) |