Use new default binapi socket with fallback to legacy
[govpp.git] / examples / simple-client / simple_client.go
index 609a25d..c857768 100644 (file)
@@ -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)
                }
        }