diff options
Diffstat (limited to 'plugin/firewall/iptables/efw-iptables.c')
-rw-r--r-- | plugin/firewall/iptables/efw-iptables.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugin/firewall/iptables/efw-iptables.c b/plugin/firewall/iptables/efw-iptables.c index ed0ec9d..be65d5e 100644 --- a/plugin/firewall/iptables/efw-iptables.c +++ b/plugin/firewall/iptables/efw-iptables.c @@ -47,6 +47,9 @@ #define INTERFACEVER "1.0" /**< The version of this firewall interface (driver) */ #define INTERFACEAPIVER 1 /**< Define the API level this firewall interface uses. */ +/** + * eFWmode string translation table + */ static const char *eFWmode_str[7] = { "ADD", "DELETE", @@ -166,7 +169,7 @@ void eFW_RunFirewall(void *fwargs) { * * @param ctx eurephiaCTX - This is just a shadow context, to make logging possible * @param fwcmd The command to be executed, can be 'A'-add, 'D'-delete, 'F'-flush, 'B'-blacklist, 'I'-init - * @param input Contains a string with information for the command. Format varies with command mode. + * @param req Pointer a eFWupdateRequest struct with the iptables update details * * @return Returns 1 on success, otherwise 0. If 0 is sent, it means the firewall process should shut down, * and it should only be used in very critical situations. |