diff options
author | Aijay Adams <aijayadams@users.noreply.github.com> | 2016-11-07 17:51:26 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-07 17:51:26 -0800 |
commit | 49fab65822e7c1746e8ddd56a90666fc945775a8 (patch) | |
tree | 78b94716ca149538663614e060a7b7ad755b954b | |
parent | 1f4cbfd567ea77e30316089125c6c83c341f88de (diff) | |
parent | 8a8faf0ba439ede5b8b78cbe34e4e0b26522bd8d (diff) | |
download | fbtracert-49fab65822e7c1746e8ddd56a90666fc945775a8.zip fbtracert-49fab65822e7c1746e8ddd56a90666fc945775a8.tar.gz fbtracert-49fab65822e7c1746e8ddd56a90666fc945775a8.tar.bz2 |
Merge pull request #15 from coxley/notify_saddr
Notify saddr
-rw-r--r-- | main.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -600,6 +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, "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" { @@ -612,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?") } |