diff options
author | netblue30 <netblue30@yahoo.com> | 2019-09-29 19:03:16 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2019-09-29 19:03:16 -0400 |
commit | bef5d86a10ec8f75fe341abb6ad58948107ec56e (patch) | |
tree | 9218e8adfd88dc3a7807e34759f6db2e864907dd /src/firemon/firemon.c | |
parent | Update evince (diff) | |
download | firejail-bef5d86a10ec8f75fe341abb6ad58948107ec56e.tar.gz firejail-bef5d86a10ec8f75fe341abb6ad58948107ec56e.tar.zst firejail-bef5d86a10ec8f75fe341abb6ad58948107ec56e.zip |
increase socket buffer size for firemon, bug #2700
Diffstat (limited to 'src/firemon/firemon.c')
-rw-r--r-- | src/firemon/firemon.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/firemon/firemon.c b/src/firemon/firemon.c index b3c435d9e..dad3b0afb 100644 --- a/src/firemon/firemon.c +++ b/src/firemon/firemon.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <sys/stat.h> | 26 | #include <sys/stat.h> |
27 | 27 | ||
28 | pid_t skip_process = 0; | 28 | pid_t skip_process = 0; |
29 | int arg_debug = 0; | ||
29 | static int arg_route = 0; | 30 | static int arg_route = 0; |
30 | static int arg_arp = 0; | 31 | static int arg_arp = 0; |
31 | static int arg_tree = 0; | 32 | static int arg_tree = 0; |
@@ -142,7 +143,8 @@ int main(int argc, char **argv) { | |||
142 | printf("firemon version %s\n\n", VERSION); | 143 | printf("firemon version %s\n\n", VERSION); |
143 | return 0; | 144 | return 0; |
144 | } | 145 | } |
145 | 146 | else if (strcmp(argv[i], "--debug") == 0) | |
147 | arg_debug = 1; | ||
146 | // options without a pid argument | 148 | // options without a pid argument |
147 | else if (strcmp(argv[i], "--top") == 0) | 149 | else if (strcmp(argv[i], "--top") == 0) |
148 | arg_top = 1; | 150 | arg_top = 1; |