diff options
author | Varsha Rao <rvarsha016@gmail.com> | 2017-11-30 19:18:05 +0530 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-11-30 15:06:13 +0100 |
commit | 505bfa114f2e0a86473fca6353fe45828f160e65 (patch) | |
tree | 2eb3ad2fdd52a1274ad1c2209c5032b8133ae456 /extensions/libip6t_REDIRECT.txlate | |
parent | a6d6821a6c0fae85a4d1570701b3b6bee89ec0a2 (diff) |
iptables: xtables-eb: Remove const qualifier from struct option
As opts is reassigned multiple times, it cannot be made constant.
So remove const qualifier from structure option. This patch fixes the
following warning.
xtables-eb.c: In function ‘ebt_load_match_extensions’:
xtables-eb.c:653:7: warning: assignment discards ‘const’ qualifier
from pointer target type
opts = ebt_original_options;
Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libip6t_REDIRECT.txlate')
0 files changed, 0 insertions, 0 deletions