[1/4] graphs.pl: fix spelling of "SYN"

Message ID 5e1ca950-4738-3676-0de6-fb62d48c6ed6@ipfire.org
State Accepted
Commit 992f944b3bd797c572e3e2c9bfe12d241201799b
Headers
Series [1/4] graphs.pl: fix spelling of "SYN" |

Commit Message

Peter Müller April 27, 2020, 3:24 p.m. UTC
  This merely is a cosmetic change, but since we are dealing with network
packets here, the SYN flag must be capitalised.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
 config/cfgroot/graphs.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Michael Tremer April 27, 2020, 3:33 p.m. UTC | #1
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>

> On 27 Apr 2020, at 16:24, Peter Müller <peter.mueller@ipfire.org> wrote:
> 
> This merely is a cosmetic change, but since we are dealing with network
> packets here, the SYN flag must be capitalised.
> 
> Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
> ---
> config/cfgroot/graphs.pl | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/config/cfgroot/graphs.pl b/config/cfgroot/graphs.pl
> index 1bed49fa3..872e9bd7c 100644
> --- a/config/cfgroot/graphs.pl
> +++ b/config/cfgroot/graphs.pl
> @@ -698,7 +698,7 @@ sub updatefwhitsgraph {
> 		"GPRINT:input:AVERAGE:%8.1lf %sBps",
> 		"GPRINT:input:MIN:%8.1lf %sBps",
> 		"GPRINT:input:LAST:%8.1lf %sBps\\j",
> -		"STACK:newnotsyn".$color{"color14"}."A0:".sprintf("%-25s","NewNotSyn"),
> +		"STACK:newnotsyn".$color{"color14"}."A0:".sprintf("%-25s","NewNotSYN"),
> 		"GPRINT:newnotsyn:MAX:%8.1lf %sBps",
> 		"GPRINT:newnotsyn:MIN:%8.1lf %sBps",
> 		"GPRINT:newnotsyn:AVERAGE:%8.1lf %sBps",
> -- 
> 2.16.4
  

Patch

diff --git a/config/cfgroot/graphs.pl b/config/cfgroot/graphs.pl
index 1bed49fa3..872e9bd7c 100644
--- a/config/cfgroot/graphs.pl
+++ b/config/cfgroot/graphs.pl
@@ -698,7 +698,7 @@  sub updatefwhitsgraph {
 		"GPRINT:input:AVERAGE:%8.1lf %sBps",
 		"GPRINT:input:MIN:%8.1lf %sBps",
 		"GPRINT:input:LAST:%8.1lf %sBps\\j",
-		"STACK:newnotsyn".$color{"color14"}."A0:".sprintf("%-25s","NewNotSyn"),
+		"STACK:newnotsyn".$color{"color14"}."A0:".sprintf("%-25s","NewNotSYN"),
 		"GPRINT:newnotsyn:MAX:%8.1lf %sBps",
 		"GPRINT:newnotsyn:MIN:%8.1lf %sBps",
 		"GPRINT:newnotsyn:AVERAGE:%8.1lf %sBps",