From c201ad3caaaed603595b697f038c63d798120725 Mon Sep 17 00:00:00 2001 From: Martin/Geno Date: Tue, 14 May 2019 19:02:42 +0200 Subject: [PATCH] fast without batman header --- respond/daemon/batman.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/respond/daemon/batman.go b/respond/daemon/batman.go index 3da7ec8..28181ff 100644 --- a/respond/daemon/batman.go +++ b/respond/daemon/batman.go @@ -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