diff options
author | 2017-07-27 10:34:55 -0400 | |
---|---|---|
committer | 2017-07-27 10:34:55 -0400 | |
commit | cb95fbc15e1326f619876347149aa8db82933e3d (patch) | |
tree | ff0b9ce4ab22e5b90d2bdacebaadc7f8ea936051 | |
parent | Merge pull request #1408 from drzraf/patch-1 (diff) | |
download | firejail-cb95fbc15e1326f619876347149aa8db82933e3d.tar.gz firejail-cb95fbc15e1326f619876347149aa8db82933e3d.tar.zst firejail-cb95fbc15e1326f619876347149aa8db82933e3d.zip |
Fix typo for fnet moveif invocation on 2nd interface.
-rw-r--r-- | src/firejail/network_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/network_main.c b/src/firejail/network_main.c index 1da25dd08..11e27575b 100644 --- a/src/firejail/network_main.c +++ b/src/firejail/network_main.c | |||
@@ -314,7 +314,7 @@ void network_main(pid_t child) { | |||
314 | sbox_run(SBOX_ROOT | SBOX_CAPS_NETWORK | SBOX_SECCOMP, 4, PATH_FNET, "moveif", cfg.interface1.dev, cstr); | 314 | sbox_run(SBOX_ROOT | SBOX_CAPS_NETWORK | SBOX_SECCOMP, 4, PATH_FNET, "moveif", cfg.interface1.dev, cstr); |
315 | } | 315 | } |
316 | if (cfg.interface2.configured) { | 316 | if (cfg.interface2.configured) { |
317 | sbox_run(SBOX_ROOT | SBOX_CAPS_NETWORK | SBOX_SECCOMP, 4, PATH_FNET, "moveif", cfg.interface3.dev, cstr); | 317 | sbox_run(SBOX_ROOT | SBOX_CAPS_NETWORK | SBOX_SECCOMP, 4, PATH_FNET, "moveif", cfg.interface2.dev, cstr); |
318 | } | 318 | } |
319 | if (cfg.interface3.configured) { | 319 | if (cfg.interface3.configured) { |
320 | sbox_run(SBOX_ROOT | SBOX_CAPS_NETWORK | SBOX_SECCOMP, 4, PATH_FNET, "moveif", cfg.interface3.dev, cstr); | 320 | sbox_run(SBOX_ROOT | SBOX_CAPS_NETWORK | SBOX_SECCOMP, 4, PATH_FNET, "moveif", cfg.interface3.dev, cstr); |