diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-01-25 10:29:41 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-01-25 10:29:41 +0800 |
commit | 99d48958cc9076cff8620866676f6d8aa5dd04f3 (patch) | |
tree | a0a76ed965d0b80d8ff6b9ad4c84799fd07da053 /net/gnome-nettool/files/patch-src_netstat.c | |
parent | 9179840dda2e9fdfd2d7d68f46258aca790510a6 (diff) | |
download | marcuscom-ports-99d48958cc9076cff8620866676f6d8aa5dd04f3.tar marcuscom-ports-99d48958cc9076cff8620866676f6d8aa5dd04f3.tar.gz marcuscom-ports-99d48958cc9076cff8620866676f6d8aa5dd04f3.tar.bz2 marcuscom-ports-99d48958cc9076cff8620866676f6d8aa5dd04f3.tar.lz marcuscom-ports-99d48958cc9076cff8620866676f6d8aa5dd04f3.tar.xz marcuscom-ports-99d48958cc9076cff8620866676f6d8aa5dd04f3.tar.zst marcuscom-ports-99d48958cc9076cff8620866676f6d8aa5dd04f3.zip |
Update to 1.1.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3496 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net/gnome-nettool/files/patch-src_netstat.c')
-rw-r--r-- | net/gnome-nettool/files/patch-src_netstat.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net/gnome-nettool/files/patch-src_netstat.c b/net/gnome-nettool/files/patch-src_netstat.c new file mode 100644 index 000000000..1eec84927 --- /dev/null +++ b/net/gnome-nettool/files/patch-src_netstat.c @@ -0,0 +1,20 @@ +--- src/netstat.c.orig Tue Jul 6 13:55:25 2004 ++++ src/netstat.c Fri Aug 20 15:55:40 2004 +@@ -108,12 +108,17 @@ + g_return_val_if_fail (netinfo != NULL, NULL); + + if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (netinfo->routing))) { ++#ifdef __FreeBSD__ ++ /* XXX We only support ipv4 now */ ++ option = g_strdup ("-rn -f inet"); ++#else + /* Works for Solaris and Linux */ + if (netinfo_is_ipv6_enable ()) { + option = g_strdup ("-rn -A inet -A inet6"); + } else { + option = g_strdup ("-rn -A inet"); + } ++#endif + + if (netinfo->stbar_text) + g_free (netinfo->stbar_text); |