fast without batman header
This commit is contained in:
parent
844be7109b
commit
c201ad3caa
|
@ -43,7 +43,7 @@ func (b *Batman) Address(iface string) string {
|
||||||
return i.HardwareAddr.String()
|
return i.HardwareAddr.String()
|
||||||
}
|
}
|
||||||
func (b *Batman) Neighbours() map[string]data.BatadvNeighbours {
|
func (b *Batman) Neighbours() map[string]data.BatadvNeighbours {
|
||||||
out, err := exec.Command("batctl", "-m", b.Bridge, "o").Output()
|
out, err := exec.Command("batctl", "-m", b.Bridge, "o", "-nH").Output()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.WithField("iface", b.Bridge).Error("not able to run batctl")
|
log.WithField("iface", b.Bridge).Error("not able to run batctl")
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Reference in New Issue