diff options
author | dhn <dhn@FreeBSD.org> | 2011-06-21 00:44:04 +0800 |
---|---|---|
committer | dhn <dhn@FreeBSD.org> | 2011-06-21 00:44:04 +0800 |
commit | 4db8dcce68db9341b45f353e0be4977f68331c38 (patch) | |
tree | 8e3dbca401a42a9d027d9fb1e5a383aef8499fa8 /net-mgmt | |
parent | 0a236ec4f8405251cea04ce0f61b635f66e39049 (diff) | |
download | freebsd-ports-graphics-4db8dcce68db9341b45f353e0be4977f68331c38.tar.gz freebsd-ports-graphics-4db8dcce68db9341b45f353e0be4977f68331c38.tar.zst freebsd-ports-graphics-4db8dcce68db9341b45f353e0be4977f68331c38.zip |
- Add LICENSE
- Add support for loopback interfaces
PR: ports/158071
Submitted by: Ryan Steinmetz <rpsfa@rit.edu> (maintainer)
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/jnettop/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/jnettop/files/patch-jresolv.c | 13 |
2 files changed, 15 insertions, 0 deletions
diff --git a/net-mgmt/jnettop/Makefile b/net-mgmt/jnettop/Makefile index eb0f422d658..1e57cded258 100644 --- a/net-mgmt/jnettop/Makefile +++ b/net-mgmt/jnettop/Makefile @@ -19,6 +19,8 @@ GNU_CONFIGURE= yes USE_GNOME= glib20 USE_GMAKE= yes +LICENSE= GPLv2 + CONFIGURE_ARGS= --prefix=${PREFIX} .if defined(WITH_DAG) diff --git a/net-mgmt/jnettop/files/patch-jresolv.c b/net-mgmt/jnettop/files/patch-jresolv.c new file mode 100644 index 00000000000..8eeb24a2227 --- /dev/null +++ b/net-mgmt/jnettop/files/patch-jresolv.c @@ -0,0 +1,13 @@ +--- jresolv.c.orig 2006-04-12 03:47:01.000000000 -0400 ++++ jresolv.c 2011-06-20 11:37:40.000000000 -0400 +@@ -306,6 +306,10 @@ + case DLT_EN10MB: + result = resolveStreamEther(packet, data, len, stream, payloads); + break; ++ case DLT_NULL: ++ case DLT_LOOP: ++ result = resolveStreamIPn(packet, data + 4, len - 4, stream, payloads); ++ break; + #ifdef linux + #ifdef DLT_LINUX_SLL + case DLT_LINUX_SLL: |