summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-12-07 06:30:27 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-12-07 06:30:27 +0800
commite023a2d00b55826d069610a2679f7ee9775e3f27 (patch)
tree8ba8ef0f6c8bec7940f19b845a95360d2df3dd3b /net
parenta64569fb24cf8abce85eec72a80b5898aab06a4b (diff)
downloadmarcuscom-ports-e023a2d00b55826d069610a2679f7ee9775e3f27.tar
marcuscom-ports-e023a2d00b55826d069610a2679f7ee9775e3f27.tar.gz
marcuscom-ports-e023a2d00b55826d069610a2679f7ee9775e3f27.tar.bz2
marcuscom-ports-e023a2d00b55826d069610a2679f7ee9775e3f27.tar.lz
marcuscom-ports-e023a2d00b55826d069610a2679f7ee9775e3f27.tar.xz
marcuscom-ports-e023a2d00b55826d069610a2679f7ee9775e3f27.tar.zst
marcuscom-ports-e023a2d00b55826d069610a2679f7ee9775e3f27.zip
Pass -n to netstat to prevent constant DNS lookups.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1403 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net')
-rw-r--r--net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c4
-rw-r--r--net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c b/net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c
index 9a29aefb1..5b80d1865 100644
--- a/net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c
+++ b/net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c
@@ -1,5 +1,5 @@
--- src/netstatus-sysdeps.c.orig Mon Jun 9 13:18:04 2003
-+++ src/netstatus-sysdeps.c Sat Dec 6 17:11:01 2003
++++ src/netstatus-sysdeps.c Sat Dec 6 17:25:49 2003
@@ -27,10 +27,13 @@
#include <stdio.h>
@@ -96,7 +96,7 @@
+ *in_bytes = -1;
+ *out_bytes = -1;
+
-+ cmd = g_strdup_printf ("/usr/bin/netstat netstat -I %s -b -f inet", iface);
++ cmd = g_strdup_printf ("/usr/bin/netstat netstat -n -I %s -b -f inet", iface);
+ command_line = g_strsplit (cmd, " ", -1);
+ g_free (cmd);
+
diff --git a/net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c b/net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c
index 9a29aefb1..5b80d1865 100644
--- a/net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c
+++ b/net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c
@@ -1,5 +1,5 @@
--- src/netstatus-sysdeps.c.orig Mon Jun 9 13:18:04 2003
-+++ src/netstatus-sysdeps.c Sat Dec 6 17:11:01 2003
++++ src/netstatus-sysdeps.c Sat Dec 6 17:25:49 2003
@@ -27,10 +27,13 @@
#include <stdio.h>
@@ -96,7 +96,7 @@
+ *in_bytes = -1;
+ *out_bytes = -1;
+
-+ cmd = g_strdup_printf ("/usr/bin/netstat netstat -I %s -b -f inet", iface);
++ cmd = g_strdup_printf ("/usr/bin/netstat netstat -n -I %s -b -f inet", iface);
+ command_line = g_strsplit (cmd, " ", -1);
+ g_free (cmd);
+