Fix bug 12908 - Correct getipstat pcount

Message ID 20220817125848.11809-1-robin.roevens@disroot.org
State Accepted
Commit 85bfecc0bae35ffe176d7c20dde7188594477787
Headers
Series Fix bug 12908 - Correct getipstat pcount |

Commit Message

Robin Roevens Aug. 17, 2022, 12:58 p.m. UTC
  ---
 src/misc-progs/getipstat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Bernhard Bitsch Aug. 17, 2022, 1:05 p.m. UTC | #1
Reviewed-by: Bernhard Bitsch <bbitscj@ipfire.org>

Am 17.08.2022 um 14:58 schrieb Robin Roevens:
> ---
>   src/misc-progs/getipstat.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/misc-progs/getipstat.c b/src/misc-progs/getipstat.c
> index 66d5b5a92..c4c7faf75 100644
> --- a/src/misc-progs/getipstat.c
> +++ b/src/misc-progs/getipstat.c
> @@ -29,7 +29,7 @@ int main(int argc, char** argv)
>   	// argument.
>   	char *args[] = {"--list", "--verbose", "--numeric", "--wait", "5", NULL, NULL, NULL, NULL};
>   	char *usage = "getipstat [-x][-f|-n|-m]";
> -	unsigned int pcount = 6;
> +	unsigned int pcount = 5;
>   	unsigned int table_set = 0;
>   
>   	int opt;
  

Patch

diff --git a/src/misc-progs/getipstat.c b/src/misc-progs/getipstat.c
index 66d5b5a92..c4c7faf75 100644
--- a/src/misc-progs/getipstat.c
+++ b/src/misc-progs/getipstat.c
@@ -29,7 +29,7 @@  int main(int argc, char** argv)
 	// argument.
 	char *args[] = {"--list", "--verbose", "--numeric", "--wait", "5", NULL, NULL, NULL, NULL};
 	char *usage = "getipstat [-x][-f|-n|-m]";
-	unsigned int pcount = 6;
+	unsigned int pcount = 5;
 	unsigned int table_set = 0;
 
 	int opt;