[conntrack-tools] conntrackd: remove warning for -S

Message ID 150228117223.32474.3290205091216581281.stgit@nfdev2.cica.es
State Accepted
Delegated to: Pablo Neira
Headers show

Commit Message

Arturo Borrero Gonzalez Aug. 9, 2017, 12:19 p.m.
Remove the warning message for the -S option which has been deprecated for
years now.

Users calling conntrackd with this switch activated will now get an error.

Signed-off-by: Arturo Borrero Gonzalez <arturo@netfilter.org>
---
 src/main.c |    3 ---
 1 file changed, 3 deletions(-)


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

Comments

Pablo Neira Ayuso Aug. 14, 2017, 9:35 a.m. | #1
On Wed, Aug 09, 2017 at 02:19:32PM +0200, Arturo Borrero Gonzalez wrote:
> Remove the warning message for the -S option which has been deprecated for
> years now.
> 
> Users calling conntrackd with this switch activated will now get an error.

Applied, thanks Arturo.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/src/main.c b/src/main.c
index 3b19160..7062e12 100644
--- a/src/main.c
+++ b/src/main.c
@@ -281,9 +281,6 @@  int main(int argc, char *argv[])
 				action = STATS;
 			}
 			break;
-		case 'S':
-			dlog(LOG_WARNING,"-S option is obsolete. Ignoring.");
-			break;
 		case 'n':
 			set_operation_mode(&type, REQUEST, argv);
 			action = REQUEST_DUMP;