diff options
Diffstat (limited to 'src/firejail/network_main.c')
-rw-r--r-- | src/firejail/network_main.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/firejail/network_main.c b/src/firejail/network_main.c index e6d5cd5d7..e50c06ae9 100644 --- a/src/firejail/network_main.c +++ b/src/firejail/network_main.c | |||
@@ -56,9 +56,12 @@ void net_configure_bridge(Bridge *br, char *dev_name) { | |||
56 | } | 56 | } |
57 | } | 57 | } |
58 | 58 | ||
59 | // allow unconfigured interfaces | ||
59 | if (net_get_if_addr(br->dev, &br->ip, &br->mask, br->mac, &br->mtu)) { | 60 | if (net_get_if_addr(br->dev, &br->ip, &br->mask, br->mac, &br->mtu)) { |
60 | fprintf(stderr, "Error: interface %s is not configured\n", br->dev); | 61 | fprintf(stderr, "Warning: interface %s is not configured\n", br->dev); |
61 | exit(1); | 62 | br->configured = 1; |
63 | br->arg_ip_none = 1; | ||
64 | return; | ||
62 | } | 65 | } |
63 | if (arg_debug) { | 66 | if (arg_debug) { |
64 | if (br->macvlan == 0) | 67 | if (br->macvlan == 0) |