Message ID | e4b9436c807b5f0a2fd37937ee29c7ab481b5686.1490640256.git.gs051095@gmail.com |
---|---|
State | Changes Requested |
Delegated to: | Pablo Neira |
Headers | show |
diff --git a/extensions/libebt_limit.c b/extensions/libebt_limit.c index 6b9bb16..988f678 100644 --- a/extensions/libebt_limit.c +++ b/extensions/libebt_limit.c @@ -29,7 +29,7 @@ #define ARG_LIMIT '1' #define ARG_LIMIT_BURST '2' -static struct option brlimit_opts[] = +static const struct option brlimit_opts[] = { { .name = "limit", .has_arg = true, .val = ARG_LIMIT }, { .name = "limit-burst",.has_arg = true, .val = ARG_LIMIT_BURST },
The struct brlimit_opts of the type option is only used to initialise a field inside the xtables_match struct and is not modified anywhere. Signed-off-by: Gargi Sharma <gs051095@gmail.com> --- extensions/libebt_limit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)