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 <[email protected]>
---
 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

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to