From caa2f4be1824179967029dc96048c85a1c142390 Mon Sep 17 00:00:00 2001 From: Lee Clemens Date: Sat, 12 Nov 2016 15:20:24 -0500 Subject: [PATCH] Add comment for hardcoded hop_o value and configs --- plugins/network/mtr100_ | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/network/mtr100_ b/plugins/network/mtr100_ index 18ddf28e..44ed34f3 100755 --- a/plugins/network/mtr100_ +++ b/plugins/network/mtr100_ @@ -63,6 +63,7 @@ total+=$6 } END { + # Hard code the first hop (hop_0) as the local hostname if ( C != "config" ) { print "hop_0.value U" } if ( C == "config" ) { print "hop_0.label " SRC_HOSTNAME } if ( C == "config" ) { print "hop_0.draw AREA" }