Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Commit

Permalink
Warn if UDP not configured (#26)
Browse files Browse the repository at this point in the history
Closes #24
  • Loading branch information
niondir authored and htdvisser committed Jul 31, 2018
1 parent 8a00f17 commit e469043
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ func runBridge(cmd *cobra.Command, args []string) {
LockPort: config.GetBool("udp-lock-port"),
}, ttnlog.Get())
bridge.AddSouthbound(pktfwd)
} else {
ctx.Warn("Parameter 'udp' is empty. No UDP listener for gateways opened")
}

// Set up the MQTT backends (from comma-separated list of user:pass@host:port)
Expand Down

0 comments on commit e469043

Please sign in to comment.