Fix binapigen decoding and minor improvements
[govpp.git] / examples / simple-client / simple_client.go
index e3ba83d..d823273 100644 (file)
@@ -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)