From ed53d1bae754eea13e10d988706d30f5150b623e Mon Sep 17 00:00:00 2001 From: Martin/Geno Date: Sun, 16 Jun 2019 19:30:31 +0200 Subject: [PATCH] fix failing --- respond/daemon/neighbours.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/respond/daemon/neighbours.go b/respond/daemon/neighbours.go index ee7e20e..3dc4234 100644 --- a/respond/daemon/neighbours.go +++ b/respond/daemon/neighbours.go @@ -53,7 +53,7 @@ func (d *Daemon) updateNeighbours(iface string, resp *data.ResponseData) { if !ok { return errors.New("neighbour without if") } - addr := t.Data["address"].(string) + addr, ok := t.Data["address"].(string) if !ok { return errors.New("neighbour without address") }