Treat redirects as port redirections if the specified dest_ip belongs to the router...
[project/firewall3.git] / options.h
index 33c5d14..88c98a0 100644 (file)
--- a/options.h
+++ b/options.h
@@ -381,6 +381,7 @@ struct fw3_redirect
        struct fw3_address ip_redir;
        struct fw3_port port_redir;
 
        struct fw3_address ip_redir;
        struct fw3_port port_redir;
 
+       struct fw3_limit limit;
        struct fw3_time time;
        struct fw3_mark mark;
 
        struct fw3_time time;
        struct fw3_mark mark;
 
@@ -388,6 +389,7 @@ struct fw3_redirect
 
        const char *extra;
 
 
        const char *extra;
 
+       bool local;
        bool reflection;
        enum fw3_reflection_source reflection_src;
 };
        bool reflection;
        enum fw3_reflection_source reflection_src;
 };