diff options
author | 2016-01-11 08:55:46 -0500 | |
---|---|---|
committer | 2016-01-11 08:55:46 -0500 | |
commit | 6fb78130358428be9b7811895a2e5950e0b515b8 (patch) | |
tree | 587714fd4c8d3357b4619ea50a98aca8b1615678 | |
parent | network work (diff) | |
download | firejail-6fb78130358428be9b7811895a2e5950e0b515b8.tar.gz firejail-6fb78130358428be9b7811895a2e5950e0b515b8.tar.zst firejail-6fb78130358428be9b7811895a2e5950e0b515b8.zip |
fixed minimum mtu
-rw-r--r-- | src/firejail/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/main.c b/src/firejail/main.c index f672c32d9..3f7a26b64 100644 --- a/src/firejail/main.c +++ b/src/firejail/main.c | |||
@@ -1069,7 +1069,7 @@ int main(int argc, char **argv) { | |||
1069 | return 1; | 1069 | return 1; |
1070 | } | 1070 | } |
1071 | 1071 | ||
1072 | if (sscanf(argv[i] + 6, "%d", &br->mtu) != 1 || br->mtu < 68 || br->mtu > 9198) { | 1072 | if (sscanf(argv[i] + 6, "%d", &br->mtu) != 1 || br->mtu < 576 || br->mtu > 9198) { |
1073 | fprintf(stderr, "Error: invalid mtu value\n"); | 1073 | fprintf(stderr, "Error: invalid mtu value\n"); |
1074 | return 1; | 1074 | return 1; |
1075 | } | 1075 | } |