summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2019-09-09 06:16:18 +0200
committerOndrej Fabry <ofabry@cisco.com>2019-09-09 06:16:26 +0200
commitd06548e4f4492c181f04a5fc9bf994764278e68b (patch)
tree2b47941fe527e727d9039d50859d6c9478401be0 /examples
parent56bf21b1a9ecd1096760a5eff70ad8366bf34253 (diff)
Use new default binapi socket with fallback to legacy
Change-Id: I1a6839e3bbb8d599fcbdbc2b1aff7c81f7d263c9 Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/simple-client/simple_client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simple-client/simple_client.go b/examples/simple-client/simple_client.go
index 609a25d..c857768 100644
--- a/examples/simple-client/simple_client.go
+++ b/examples/simple-client/simple_client.go
@@ -52,7 +52,7 @@ func main() {
select {
case e := <-conev:
if e.State != core.Connected {
- log.Fatalln("ERROR: connecting to VPP failed:", err)
+ log.Fatalln("ERROR: connecting to VPP failed:", e.Error)
}
}