netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] conntrack: Replace remaining occurances of --src, --dst options with --orig-src, --orig-dst
@ 2016-04-05  6:44 Mart Frauenlob
  2016-04-07  9:40 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 4+ messages in thread
From: Mart Frauenlob @ 2016-04-05  6:44 UTC (permalink / raw)
  To: netfilter-devel

The old options --src and --dst were still defined at two places.
Replaced with according --orig-src and --orig-dst entry.

Signed-off-by: Mart Frauenlob <mart.frauenlob@chello.at>
---
 src/conntrack.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/conntrack.c b/src/conntrack.c
index b384e07..076d8a3 100644
--- a/src/conntrack.c
+++ b/src/conntrack.c
@@ -282,8 +282,8 @@ enum ct_options {
 		       CT_OPT_ORIG_ZONE | CT_OPT_REPL_ZONE)
 
 static const char *optflags[NUMBER_OF_OPT] = {
-	[CT_OPT_ORIG_SRC_BIT] 	= "src",
-	[CT_OPT_ORIG_DST_BIT]	= "dst",
+	[CT_OPT_ORIG_SRC_BIT] 	= "orig-src",
+	[CT_OPT_ORIG_DST_BIT]	= "orig-dst",
 	[CT_OPT_REPL_SRC_BIT]	= "reply-src",
 	[CT_OPT_REPL_DST_BIT]	= "reply-dst",
 	[CT_OPT_PROTO_BIT]	= "protonum",
@@ -2468,7 +2468,7 @@ int main(int argc, char *argv[])
 		case -1:
 		case 0:
 			exit_error(PARAMETER_PROBLEM, "you have to specify "
-						      "`--src' and `--dst'");
+						      "`--orig-src' and `--orig-dst'");
 			break;
 		case 1:
 			exit_error(PARAMETER_PROBLEM, "you have to specify "
-- 
1.7.2.5


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-07 17:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-05  6:44 [PATCH] conntrack: Replace remaining occurances of --src, --dst options with --orig-src, --orig-dst Mart Frauenlob
2016-04-07  9:40 ` Pablo Neira Ayuso
2016-04-07 17:24   ` Mart Frauenlob
2016-04-07 17:25     ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).