* [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
* Re: [PATCH] conntrack: Replace remaining occurances of --src, --dst options with --orig-src, --orig-dst
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
0 siblings, 1 reply; 4+ messages in thread
From: Pablo Neira Ayuso @ 2016-04-07 9:40 UTC (permalink / raw)
To: Mart Frauenlob; +Cc: netfilter-devel
On Tue, Apr 05, 2016 at 08:44:52AM +0200, Mart Frauenlob wrote:
> The old options --src and --dst were still defined at two places.
> Replaced with according --orig-src and --orig-dst entry.
--src is valid shortcut.
This breaks backward compatibility.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] conntrack: Replace remaining occurances of --src, --dst options with --orig-src, --orig-dst
2016-04-07 9:40 ` Pablo Neira Ayuso
@ 2016-04-07 17:24 ` Mart Frauenlob
2016-04-07 17:25 ` Pablo Neira Ayuso
0 siblings, 1 reply; 4+ messages in thread
From: Mart Frauenlob @ 2016-04-07 17:24 UTC (permalink / raw)
To: Pablo Neira Ayuso; +Cc: netfilter-devel
On 07.04.2016 11:40, Pablo Neira Ayuso wrote:
> On Tue, Apr 05, 2016 at 08:44:52AM +0200, Mart Frauenlob wrote:
>> The old options --src and --dst were still defined at two places.
>> Replaced with according --orig-src and --orig-dst entry.
>
> --src is valid shortcut.
>
> This breaks backward compatibility.
>
ok, so I'll update the docs, to also show --src?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] conntrack: Replace remaining occurances of --src, --dst options with --orig-src, --orig-dst
2016-04-07 17:24 ` Mart Frauenlob
@ 2016-04-07 17:25 ` Pablo Neira Ayuso
0 siblings, 0 replies; 4+ messages in thread
From: Pablo Neira Ayuso @ 2016-04-07 17:25 UTC (permalink / raw)
To: Mart Frauenlob; +Cc: netfilter-devel
On Thu, Apr 07, 2016 at 07:24:55PM +0200, Mart Frauenlob wrote:
> On 07.04.2016 11:40, Pablo Neira Ayuso wrote:
> >On Tue, Apr 05, 2016 at 08:44:52AM +0200, Mart Frauenlob wrote:
> >>The old options --src and --dst were still defined at two places.
> >>Replaced with according --orig-src and --orig-dst entry.
> >
> >--src is valid shortcut.
> >
> >This breaks backward compatibility.
>
> ok, so I'll update the docs, to also show --src?
yes please, thanks :)
^ permalink raw reply [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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.