[OpenWrt-Devel] [PATCH] [firewall3] defaults.c: remove toplevel_rule struct

Jo-Philipp Wich jow at openwrt.org
Wed Apr 27 02:22:22 EDT 2016


Hi Alexandru,

pushed to master - thanks!

~ Jo

On 27.04.2016 08:16, Alexandru Ardelean wrote:
> From: Alexandru Ardelean <ardeleanalex at gmail.com>
> 
> Since commit 60f1444 , this struct is no longer used.
> 
> Signed-off-by: Alexandru Ardelean <ardeleanalex at gmail.com>
> ---
>  defaults.c | 7 -------
>  1 file changed, 7 deletions(-)
> 
> diff --git a/defaults.c b/defaults.c
> index e246949..3d210f9 100644
> --- a/defaults.c
> +++ b/defaults.c
> @@ -164,13 +164,6 @@ fw3_print_default_chains(struct fw3_ipt_handle *handle, struct fw3_state *state,
>  	set(defs->flags, handle->family, handle->table);
>  }
>  
> -
> -struct toplevel_rule {
> -	enum fw3_table table;
> -	const char *chain;
> -	const char *target;
> -};
> -
>  void
>  fw3_print_default_head_rules(struct fw3_ipt_handle *handle,
>                               struct fw3_state *state, bool reload)
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list