Skip to contentSkip to conversation

fix filenames typo in print_usage and file header

PATCH In review gapsf 2 participants 2 messages Jun 19, 2013 – Jun 29, 2013 netfilter

lore
Share & tools
lore

gapsf

author
#0 lore raw

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
index 58ce30f..2989503 100644
@@ -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
index a15e772..7a49a01 100644
@@ -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
index cfdc170..95abd54 100644
@@ -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
index 5e1e3f6..2f30aad 100644
@@ -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
index b04af04..6be58e8 100644
@@ -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
index 8b474fa..d4f1d79 100644
@@ -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
index 58ce30f..2989503 100644
@@ -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
index a15e772..7a49a01 100644
@@ -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
index cfdc170..95abd54 100644
@@ -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
index 5e1e3f6..2f30aad 100644
@@ -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
index b04af04..6be58e8 100644
@@ -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
index 8b474fa..d4f1d79 100644
@@ -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
#1 lore raw
Quoted 32 lines · gapsf

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
index 58ce30f..2989503 100644
@@ -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
index a15e772..7a49a01 100644

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
index cfdc170..95abd54 100644
@@ -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
index 5e1e3f6..2f30aad 100644
@@ -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
index b04af04..6be58e8 100644
@@ -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
index 8b474fa..d4f1d79 100644
@@ -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
index 58ce30f..2989503 100644
@@ -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
index a15e772..7a49a01 100644
@@ -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
index cfdc170..95abd54 100644
@@ -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
index 5e1e3f6..2f30aad 100644
@@ -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
index b04af04..6be58e8 100644
@@ -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
index 8b474fa..d4f1d79 100644
@@ -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