fix failing

This commit is contained in:
Martin/Geno 2019-06-16 19:30:31 +02:00 committed by genofire
parent 8d36fbf928
commit ed53d1bae7
No known key found for this signature in database
GPG Key ID: 9D7D3C6BFF600C6A
1 changed files with 1 additions and 1 deletions

View File

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