~ruther/guix-config

0f804b733aae0fb4a601336e454164c46c929552 — Rutherther a month ago a426cc9
fix: wireshark patch
1 files changed, 4 insertions(+), 4 deletions(-)

M patches/wireshark.patch
M patches/wireshark.patch => patches/wireshark.patch +4 -4
@@ 13,22 13,22 @@ index 946dc810db..2cc3d6f705 100644
+++ b/capture/capture_sync.c
@@ -244,7 +244,7 @@ init_pipe_args(int *argc) {
     char **argv;
 

     /* Find the absolute path of the dumpcap executable. */
-    exename = get_executable_path("dumpcap");
+    exename = "/run/privileged/bin/dumpcap";
     if (exename == NULL) {
         return NULL;
     }
@@ -270,10 +270,6 @@ init_pipe_args(int *argc) {
@@ -270,9 +270,6 @@ init_pipe_args(int *argc) {
         }
     }
 

-    /* sync_pipe_add_arg strdupes exename, so we should free our copy */
-    g_free(exename);
-
     return argv;
 }
 

--
2.48.1

Do not follow this link