diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/profile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c index 038676635..d7ea4a550 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c | |||
@@ -189,6 +189,7 @@ int profile_check_line(char *ptr, int lineno, const char *fname) { | |||
189 | else if (strncmp(ptr, "netfilter ", 10) == 0) { | 189 | else if (strncmp(ptr, "netfilter ", 10) == 0) { |
190 | #ifdef HAVE_NETWORK | 190 | #ifdef HAVE_NETWORK |
191 | if (checkcfg(CFG_NETWORK)) { | 191 | if (checkcfg(CFG_NETWORK)) { |
192 | arg_netfilter = 1; | ||
192 | arg_netfilter_file = strdup(ptr + 10); | 193 | arg_netfilter_file = strdup(ptr + 10); |
193 | if (!arg_netfilter_file) | 194 | if (!arg_netfilter_file) |
194 | errExit("strdup"); | 195 | errExit("strdup"); |