ran 'go fmt'; cosmetic changes

This commit is contained in:
Bryan Boreham committed 2014-08-29 14:51:31 +01:00
1 parent a113da0e34
commit 94e00e2c8e
4 files changed
+22 -21

No files matched your search

+4 -4
View File
@@ -1,7 +1,7 @@
package main
import (
"github.com/bboreham/weave"
"github.com/zettio/weave"
"code.google.com/p/gopacket/layers"
"crypto/sha256"
"flag"
@@ -70,7 +70,7 @@ func main() {
flag.IntVar(&bufSz, "bufsz", 8, "capture buffer size in MB (defaults to 8MB)")
flag.Parse()
peers = flag.Args()
if ifaceName == "" {
fmt.Println("Missing required parameter 'iface'")
os.Exit(1)
@@ -123,8 +123,8 @@ func main() {
}
}()
}
httpResponder := weave.NewHttpStatusResponder(router)
go httpResponder.ListenAndServe()
httpResponder := weave.NewHttpStatusResponder(router)
go httpResponder.ListenAndServe()
handleSignals(router)
}