diff options
author | netblue30 <netblue30@yahoo.com> | 2016-04-08 11:27:26 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2016-04-08 11:27:26 -0400 |
commit | a31bfa482df3755a77220d9988a5a95f1c21411f (patch) | |
tree | d54d9f95b594569233f625f104c1b921dba623af | |
parent | grsecurity fixes (diff) | |
download | firejail-a31bfa482df3755a77220d9988a5a95f1c21411f.tar.gz firejail-a31bfa482df3755a77220d9988a5a95f1c21411f.tar.zst firejail-a31bfa482df3755a77220d9988a5a95f1c21411f.zip |
network profile fix
-rw-r--r-- | src/firejail/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/firejail/main.c b/src/firejail/main.c index c9954d8c7..e8b17bf45 100644 --- a/src/firejail/main.c +++ b/src/firejail/main.c | |||
@@ -1774,9 +1774,6 @@ int main(int argc, char **argv) { | |||
1774 | } | 1774 | } |
1775 | } | 1775 | } |
1776 | 1776 | ||
1777 | // check network configuration options - it will exit if anything went wrong | ||
1778 | net_check_cfg(); | ||
1779 | |||
1780 | // check trace configuration | 1777 | // check trace configuration |
1781 | if (arg_trace && arg_tracelog) | 1778 | if (arg_trace && arg_tracelog) |
1782 | fprintf(stderr, "Warning: --trace and --tracelog are mutually exclusive; --tracelog disabled\n"); | 1779 | fprintf(stderr, "Warning: --trace and --tracelog are mutually exclusive; --tracelog disabled\n"); |
@@ -1922,6 +1919,9 @@ int main(int argc, char **argv) { | |||
1922 | } | 1919 | } |
1923 | } | 1920 | } |
1924 | 1921 | ||
1922 | // check network configuration options - it will exit if anything went wrong | ||
1923 | net_check_cfg(); | ||
1924 | |||
1925 | // check and assign an IP address - for macvlan it will be done again in the sandbox! | 1925 | // check and assign an IP address - for macvlan it will be done again in the sandbox! |
1926 | if (any_bridge_configured()) { | 1926 | if (any_bridge_configured()) { |
1927 | EUID_ROOT(); | 1927 | EUID_ROOT(); |