fix failing
This commit is contained in:
parent
8d36fbf928
commit
ed53d1bae7
|
@ -53,7 +53,7 @@ func (d *Daemon) updateNeighbours(iface string, resp *data.ResponseData) {
|
||||||
if !ok {
|
if !ok {
|
||||||
return errors.New("neighbour without if")
|
return errors.New("neighbour without if")
|
||||||
}
|
}
|
||||||
addr := t.Data["address"].(string)
|
addr, ok := t.Data["address"].(string)
|
||||||
if !ok {
|
if !ok {
|
||||||
return errors.New("neighbour without address")
|
return errors.New("neighbour without address")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue