X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=examples%2Fsimple-client%2Fsimple_client.go;h=d823273d7876e666a9574de9ae78e931187905dd;hb=58da9ac6e691a8c660eb8ca838a154e11da0db68;hp=e3ba83d15d9a967907c8e008275bc4baba60d62e;hpb=a155cd438c6558da266c1c5931361ea088b35653;p=govpp.git 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)