summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorcoxley <codey.a.oxley+os@gmail.com>2016-11-07 16:42:57 -0800
committercoxley <codey.a.oxley+os@gmail.com>2016-11-07 16:42:57 -0800
commite1176c531dc2e7d0369213970acfa6052ae85c20 (patch)
treead2e7f2cc9e26a13dd1f6269dbeb699068ed9e4e /main.go
parent1f4cbfd567ea77e30316089125c6c83c341f88de (diff)
downloadfbtracert-e1176c531dc2e7d0369213970acfa6052ae85c20.zip
fbtracert-e1176c531dc2e7d0369213970acfa6052ae85c20.tar.gz
fbtracert-e1176c531dc2e7d0369213970acfa6052ae85c20.tar.bz2
Sends note about source IP being used to stderr
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 2cd69d5..2a3d18b 100644
--- a/main.go
+++ b/main.go
@@ -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" {