fix filenames typo in print_usage and file header
PATCH 1/1 fix filenames typo in print_usage and file header
From ccb45b16c88959737670ef79e5aba47c406b2f70 Mon Sep 17 00:00:00 2001
From: gapsf <[email protected]>
Date: Thu, 13 Jun 2013 22:30:34 +0700
Subject: [PATCH] fix filenames typo in print_usage and file header
--- src/nf-table-add.c | 2 +- src/nf-table-delete.c | 2 +- src/nl-cls-delete.c | 2 +- src/nl-link-list.c | 2 +- src/nl-link-name2ifindex.c | 2 +- src/nl-rule-list.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
src/nf-table-add.c +1 -1
@@ -17,7 +17,7 @@static void print_usage (void ) {printf ( -"Usage: nf-ct-add <family> <name>\n" +"Usage: nf-table-add <family> <name>\n" );exit (1 ); }
src/nf-table-delete.c +1 -1
@@ -17,7 +17,7 @@static void print_usage (void ) {printf ( -"Usage: nf-ct-delete <family> <name>\n" +"Usage: nf-table-delete <family> <name>\n" );exit (1 ); }
src/nl-cls-delete.c +1 -1
@@ -18,7 +18,7 @@ static struct nl_sock *sock;static void print_usage (void ) {printf ( -"Usage: nl-cls-list [OPTION]... [CLASSIFIER]\n" +"Usage: nl-cls-delete [OPTION]... [CLASSIFIER]\n" "\n" "Options\n" " -i, --interactive Run interactively\n"
src/nl-link-list.c +1 -1
@@ -1,5 +1,5 @@/* -* src/nl-link-dump.c Dump link attributes +* src/nl-link-list.c Dump link attributes * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public
src/nl-link-name2ifindex.c +1 -1
@@ -14,7 +14,7 @@static void print_usage (void ) { -printf ("Usage: nl-link-ifindex2name <ifindex>\n" ); +printf ("Usage: nl-link-name2ifindex <ifindex>\n" );exit (0 ); }
src/nl-rule-list.c +1 -1
@@ -1,5 +1,5 @@/* -* src/nl-rule-dump.c Dump rule attributes +* src/nl-rule-list.c Dump rule attributes * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public
Signature · 1 line
1.8.3.msysgit.0
From ccb45b16c88959737670ef79e5aba47c406b2f70 Mon Sep 17 00:00:00 2001
From: gapsf <[email protected]>
Date: Thu, 13 Jun 2013 22:30:34 +0700
Subject: [PATCH] fix filenames typo in print_usage and file header
--- src/nf-table-add.c | 2 +- src/nf-table-delete.c | 2 +- src/nl-cls-delete.c | 2 +- src/nl-link-list.c | 2 +- src/nl-link-name2ifindex.c | 2 +- src/nl-rule-list.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
src/nf-table-add.c +1 -1
@@ -17,7 +17,7 @@static void print_usage (void ) {printf ( -"Usage: nf-ct-add <family> <name>\n" +"Usage: nf-table-add <family> <name>\n" );exit (1 ); }
src/nf-table-delete.c +1 -1
@@ -17,7 +17,7 @@static void print_usage (void ) {printf ( -"Usage: nf-ct-delete <family> <name>\n" +"Usage: nf-table-delete <family> <name>\n" );exit (1 ); }
src/nl-cls-delete.c +1 -1
@@ -18,7 +18,7 @@ static struct nl_sock *sock;static void print_usage (void ) {printf ( -"Usage: nl-cls-list [OPTION]... [CLASSIFIER]\n" +"Usage: nl-cls-delete [OPTION]... [CLASSIFIER]\n" "\n" "Options\n" " -i, --interactive Run interactively\n"
src/nl-link-list.c +1 -1
@@ -1,5 +1,5 @@/* -* src/nl-link-dump.c Dump link attributes +* src/nl-link-list.c Dump link attributes * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public
src/nl-link-name2ifindex.c +1 -1
@@ -14,7 +14,7 @@static void print_usage (void ) { -printf ("Usage: nl-link-ifindex2name <ifindex>\n" ); +printf ("Usage: nl-link-name2ifindex <ifindex>\n" );exit (0 ); }
src/nl-rule-list.c +1 -1
@@ -1,5 +1,5 @@/* -* src/nl-rule-dump.c Dump rule attributes +* src/nl-rule-list.c Dump rule attributes * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public
Signature · 1 line
1.8.3.msysgit.0
Pablo Neira Ayuso
maintainerQuoted 32 lines · gapsf
From
ccb45b16c88959737670ef79e5aba47c406b2f70Mon Sep 17 00:00:00 2001
From: gapsf <[email protected]>
Date: Thu, 13 Jun 2013 22:30:34 +0700
Subject: [PATCH] fix filenames typo inprint_usageand file header--- src/nf-table-add.c | 2 +- src/nf-table-delete.c | 2 +- src/nl-cls-delete.c | 2 +- src/nl-link-list.c | 2 +- src/nl-link-name2ifindex.c | 2 +- src/nl-rule-list.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)src/nf-table-add.c +1
-1@@ -17,7 +17,7 @@static void print_usage (void ) {printf ( -"Usage: nf-ct-add <family> <name>\n" +"Usage: nf-table-add <family> <name>\n" );exit (1 ); }src/nf-table-delete.c +0
-0
src/nf-table-delete.c line 23
Quoted 8 lines
src/nf-table-delete.c +1
-1@@ -17,7 +17,7 @@static void print_usage (void ) {printf ( -"Usage: nf-ct-delete <family> <name>\n" +"Usage: nf-table-delete <family> <name>\n" );exit (1 ); }
Applied the two chunks above, thanks.
The remain ones belong to libnl.
Quoted 143 lines
src/nl-cls-delete.c +1
-1@@ -18,7 +18,7 @@ static struct nl_sock *sock;static void print_usage (void ) {printf ( -"Usage: nl-cls-list [OPTION]... [CLASSIFIER]\n" +"Usage: nl-cls-delete [OPTION]... [CLASSIFIER]\n" "\n" "Options\n" " -i, --interactive Run interactively\n"src/nl-link-list.c +1
-1@@ -1,5 +1,5 @@/* -* src/nl-link-dump.c Dump link attributes +* src/nl-link-list.c Dump link attributes * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public src/nl-link-name2ifindex.c +1
-1@@ -14,7 +14,7 @@static void print_usage (void ) { -printf ("Usage: nl-link-ifindex2name <ifindex>\n" ); +printf ("Usage: nl-link-name2ifindex <ifindex>\n" );exit (0 ); }src/nl-rule-list.c +1
-1@@ -1,5 +1,5 @@/* -* src/nl-rule-dump.c Dump rule attributes +* src/nl-rule-list.c Dump rule attributes * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public Signature · 16 lines
1.8.3.msysgit.0 From ccb45b16c88959737670ef79e5aba47c406b2f70 Mon Sep 17 00:00:00 2001 From: gapsf <[email protected]> Date: Thu, 13 Jun 2013 22:30:34 +0700 Subject: [PATCH] fix filenames typo in print_usage and file header --- src/nf-table-add.c | 2 +- src/nf-table-delete.c | 2 +- src/nl-cls-delete.c | 2 +- src/nl-link-list.c | 2 +- src/nl-link-name2ifindex.c | 2 +- src/nl-rule-list.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)src/nf-table-add.c +1
-1@@ -17,7 +17,7 @@static void print_usage (void ) {printf ( -"Usage: nf-ct-add <family> <name>\n" +"Usage: nf-table-add <family> <name>\n" );exit (1 ); }src/nf-table-delete.c +1
-1@@ -17,7 +17,7 @@static void print_usage (void ) {printf ( -"Usage: nf-ct-delete <family> <name>\n" +"Usage: nf-table-delete <family> <name>\n" );exit (1 ); }src/nl-cls-delete.c +1
-1@@ -18,7 +18,7 @@ static struct nl_sock *sock;static void print_usage (void ) {printf ( -"Usage: nl-cls-list [OPTION]... [CLASSIFIER]\n" +"Usage: nl-cls-delete [OPTION]... [CLASSIFIER]\n" "\n" "Options\n" " -i, --interactive Run interactively\n"src/nl-link-list.c +1
-1@@ -1,5 +1,5 @@/* -* src/nl-link-dump.c Dump link attributes +* src/nl-link-list.c Dump link attributes * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public src/nl-link-name2ifindex.c +1
-1@@ -14,7 +14,7 @@static void print_usage (void ) { -printf ("Usage: nl-link-ifindex2name <ifindex>\n" ); +printf ("Usage: nl-link-name2ifindex <ifindex>\n" );exit (0 ); }src/nl-rule-list.c +1
-1@@ -1,5 +1,5 @@/* -* src/nl-rule-dump.c Dump rule attributes +* src/nl-rule-list.c Dump rule attributes * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public Signature · 1 line
1.8.3.msysgit.0