|
|
4aca6e |
From 44384a7557d92a53032d8f65adcbed79a5f990e6 Mon Sep 17 00:00:00 2001
|
|
|
4aca6e |
From: Phil Sutter <psutter@redhat.com>
|
|
|
4aca6e |
Date: Tue, 4 Apr 2017 16:22:40 +0200
|
|
|
4aca6e |
Subject: [PATCH] tc: m_xt: Drop unused variable fw in parse_ipt()
|
|
|
4aca6e |
|
|
|
4aca6e |
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1326726
|
|
|
4aca6e |
Upstream Status: iproute2.git commit b0ba0185763ad
|
|
|
4aca6e |
Conflicts: Changes in context and replaced code due to missing upstream
|
|
|
4aca6e |
commit 32a121cba2579 ("tc: code cleanup").
|
|
|
4aca6e |
|
|
|
4aca6e |
commit b0ba0185763ad2bae3335423221919ed47951885
|
|
|
4aca6e |
Author: Phil Sutter <phil@nwl.cc>
|
|
|
4aca6e |
Date: Fri Jun 10 13:42:04 2016 +0200
|
|
|
4aca6e |
|
|
|
4aca6e |
tc: m_xt: Drop unused variable fw in parse_ipt()
|
|
|
4aca6e |
|
|
|
4aca6e |
Signed-off-by: Phil Sutter <phil@nwl.cc>
|
|
|
4aca6e |
---
|
|
|
4aca6e |
tc/m_xt.c | 2 --
|
|
|
4aca6e |
1 file changed, 2 deletions(-)
|
|
|
4aca6e |
|
|
|
4aca6e |
diff --git a/tc/m_xt.c b/tc/m_xt.c
|
|
|
4aca6e |
index bb1f929..4e660c4 100644
|
|
|
4aca6e |
--- a/tc/m_xt.c
|
|
|
4aca6e |
+++ b/tc/m_xt.c
|
|
|
4aca6e |
@@ -120,7 +120,6 @@ static int parse_ipt(struct action_util *a,int *argc_p,
|
|
|
4aca6e |
char ***argv_p, int tca_id, struct nlmsghdr *n)
|
|
|
4aca6e |
{
|
|
|
4aca6e |
struct xtables_target *m = NULL;
|
|
|
4aca6e |
- struct ipt_entry fw;
|
|
|
4aca6e |
struct rtattr *tail;
|
|
|
4aca6e |
|
|
|
4aca6e |
int c;
|
|
|
4aca6e |
@@ -188,7 +187,6 @@ static int parse_ipt(struct action_util *a,int *argc_p,
|
|
|
4aca6e |
break;
|
|
|
4aca6e |
|
|
|
4aca6e |
default:
|
|
|
4aca6e |
- memset(&fw, 0, sizeof (fw));
|
|
|
4aca6e |
#if (XTABLES_VERSION_CODE >= 6)
|
|
|
4aca6e |
if (m != NULL && m->x6_parse != NULL) {
|
|
|
4aca6e |
xtables_option_tpcall(c, argv, 0, m, NULL);
|
|
|
4aca6e |
--
|
|
|
4aca6e |
1.8.3.1
|
|
|
4aca6e |
|