summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorcoxley <codey.a.oxley+os@gmail.com>2016-11-07 16:44:01 -0800
committercoxley <codey.a.oxley+os@gmail.com>2016-11-07 16:44:01 -0800
commit8a8faf0ba439ede5b8b78cbe34e4e0b26522bd8d (patch)
tree78b94716ca149538663614e060a7b7ad755b954b /main.go
parente1176c531dc2e7d0369213970acfa6052ae85c20 (diff)
downloadfbtracert-8a8faf0ba439ede5b8b78cbe34e4e0b26522bd8d.zip
fbtracert-8a8faf0ba439ede5b8b78cbe34e4e0b26522bd8d.tar.gz
fbtracert-8a8faf0ba439ede5b8b78cbe34e4e0b26522bd8d.tar.bz2
Go fmt
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 2a3d18b..e293f73 100644
--- a/main.go
+++ b/main.go
@@ -600,7 +600,7 @@ func main() {
fmt.Fprintf(os.Stderr, "Could not identify a source address to trace from\n")
return
}
- fmt.Fprintf(os.Stderr, "Using as source address: %s\n", source.String())
+ fmt.Fprintf(os.Stderr, "Using as source address: %s\n", source.String())
fmt.Fprintf(os.Stderr, "Starting fbtracert with %d probes per second/ttl, base src port %d and with the port span of %d\n", *probeRate, *baseSrcPort, *maxSrcPorts)
if flag.Lookup("logtostderr").Value.String() != "true" {
@@ -613,7 +613,7 @@ func main() {
senderDone[ttl-1] = make(chan struct{})
c, err := Sender(senderDone[ttl-1], source, *addrFamily, target, *targetPort, *baseSrcPort, *maxSrcPorts, numIters, ttl, *probeRate, *tosValue)
if err != nil {
- glog.Errorf("Failed to start sender for ttl %d, %s", ttl, err);
+ glog.Errorf("Failed to start sender for ttl %d, %s", ttl, err)
if err.Error() == "operation not permitted" {
glog.Error(" -- are you running with the correct privileges?")
}