Skip to content

Commit

Permalink
fast without batman header
Browse files Browse the repository at this point in the history
  • Loading branch information
genofire committed May 14, 2019
1 parent 9b213fb commit 85c7f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion respond/daemon/batman.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 85c7f5a

Please sign in to comment.