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") }