diff options
author | netblue30 <netblue30@yahoo.com> | 2016-04-24 08:24:32 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-04-24 08:24:32 -0400 |
commit | ff9ebdd99245ca9bf52c2fa38e12a97386e266a7 (patch) | |
tree | 23cd3cedcc1061e18a207461e23e54ff2bd4707b | |
parent | make github-compile (diff) | |
download | firejail-ff9ebdd99245ca9bf52c2fa38e12a97386e266a7.tar.gz firejail-ff9ebdd99245ca9bf52c2fa38e12a97386e266a7.tar.zst firejail-ff9ebdd99245ca9bf52c2fa38e12a97386e266a7.zip |
compile cleanup
-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); |