fast without batman header

This commit is contained in:
Martin/Geno 2019-05-14 19:02:42 +02:00 committed by genofire
parent 844be7109b
commit c201ad3caa
No known key found for this signature in database
GPG Key ID: 9D7D3C6BFF600C6A
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ func (b *Batman) Address(iface string) string {
return i.HardwareAddr.String()
}
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 {
log.WithField("iface", b.Bridge).Error("not able to run batctl")
return nil