From b6072a3b486de83c134d71301f67f9e73a8c3e97 Mon Sep 17 00:00:00 2001 From: Martin/Geno Date: Tue, 30 Apr 2019 22:09:31 +0200 Subject: [PATCH] fix batman interfaces --- respond/daemon/batman.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/respond/daemon/batman.go b/respond/daemon/batman.go index 7993403..3da7ec8 100644 --- a/respond/daemon/batman.go +++ b/respond/daemon/batman.go @@ -23,7 +23,10 @@ func NewBatman(iface string) *Batman { log.WithField("iface", iface).Error("not able to run batctl") return nil } - b := &Batman{Bridge: iface} + b := &Batman{ + Bridge: iface, + Interfaces: []string{iface}, + } for _, line := range strings.Split(string(out), "\n") { i := strings.Split(line, ":")[0] if i != "" {