summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gateway/gateway.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/gateway/gateway.go b/gateway/gateway.go
index 694fa95b..c8b1d689 100644
--- a/gateway/gateway.go
+++ b/gateway/gateway.go
@@ -81,6 +81,7 @@ func (gw *Gateway) AddBridge(cfg *config.Bridge) error {
if br == nil {
br = bridge.New(cfg)
br.Config = gw.Router.Config
+ br.General = &gw.General
// set logging
br.Log = log.WithFields(log.Fields{"prefix": "bridge"})
brconfig := &bridge.Config{Remote: gw.Message, Log: log.WithFields(log.Fields{"prefix": br.Protocol}), Bridge: br}