diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-02-19 07:18:49 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-02-19 07:18:49 +0800 |
commit | 67baf3d82412fee58f957088e96c65cbaa726393 (patch) | |
tree | fea2b4cd2215251543790f64d7713701687ae2a9 /net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c | |
parent | e16c3e2db0c4b3cad4f1c5465cba6625f9ec81e4 (diff) | |
download | marcuscom-ports-67baf3d82412fee58f957088e96c65cbaa726393.tar marcuscom-ports-67baf3d82412fee58f957088e96c65cbaa726393.tar.gz marcuscom-ports-67baf3d82412fee58f957088e96c65cbaa726393.tar.bz2 marcuscom-ports-67baf3d82412fee58f957088e96c65cbaa726393.tar.lz marcuscom-ports-67baf3d82412fee58f957088e96c65cbaa726393.tar.xz marcuscom-ports-67baf3d82412fee58f957088e96c65cbaa726393.tar.zst marcuscom-ports-67baf3d82412fee58f957088e96c65cbaa726393.zip |
Fix the netstat command line so that gnomenetstatus reports more than just
"Error" for interfaces.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1858 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c')
-rw-r--r-- | net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c b/net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c new file mode 100644 index 000000000..85b3f084d --- /dev/null +++ b/net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c @@ -0,0 +1,11 @@ +--- src/netstatus-sysdeps.c.orig Wed Feb 18 18:20:48 2004 ++++ src/netstatus-sysdeps.c Wed Feb 18 18:21:02 2004 +@@ -267,7 +267,7 @@ + *out_bytes = -1; + + error = NULL; +- command_line = g_strdup_printf ("/usr/bin/netstat netstat -n -I %s -b -f inet", iface); ++ command_line = g_strdup_printf ("/usr/bin/netstat -n -I %s -b -f inet", iface); + if (!g_shell_parse_argv (command_line, NULL, &argv, &error)) + { + error_message = g_strdup_printf (_("Could not parse command line '%s': %s"), |