diff options
-rw-r--r-- | src/firejail/profile.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c index d358594d9..d564cd39c 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c | |||
@@ -427,7 +427,6 @@ int profile_check_line(char *ptr, int lineno, const char *fname) { | |||
427 | else if (strncmp(ptr, "defaultgw ", 10) == 0) { | 427 | else if (strncmp(ptr, "defaultgw ", 10) == 0) { |
428 | #ifdef HAVE_NETWORK | 428 | #ifdef HAVE_NETWORK |
429 | if (checkcfg(CFG_NETWORK)) { | 429 | if (checkcfg(CFG_NETWORK)) { |
430 | Bridge *br = last_bridge_configured(); | ||
431 | if (atoip(ptr + 10, &cfg.defaultgw)) { | 430 | if (atoip(ptr + 10, &cfg.defaultgw)) { |
432 | fprintf(stderr, "Error: invalid IP address\n"); | 431 | fprintf(stderr, "Error: invalid IP address\n"); |
433 | exit(1); | 432 | exit(1); |