Merge pull request #58 from nordicdyno/master

ListenAndServe now fails on exit
This commit is contained in:
Tobias Schmidt 2017-02-11 17:23:29 -05:00 committed by GitHub
commit b1f3e6d7be

View file

@ -52,7 +52,7 @@ func serveHTTP() {
</body>
</html>`))
})
http.ListenAndServe(*listenAddress, nil)
log.Fatal(http.ListenAndServe(*listenAddress, nil))
}
func udpAddrFromString(addr string) *net.UDPAddr {