summaryrefslogtreecommitdiff
path: root/package/iptraf/patches/patch-src_tcptable_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-03-04 11:43:49 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-03-04 11:43:49 +0100
commitc8e25cfa429c66c7ecd7a310bc162430836176c0 (patch)
tree963694bc76227b9e391062d3e33fe5c3730f1295 /package/iptraf/patches/patch-src_tcptable_c
parentddb8c72a40d69c786062e3f92c9a2155726a6ea4 (diff)
update to latest upstream
Diffstat (limited to 'package/iptraf/patches/patch-src_tcptable_c')
-rw-r--r--package/iptraf/patches/patch-src_tcptable_c12
1 files changed, 7 insertions, 5 deletions
diff --git a/package/iptraf/patches/patch-src_tcptable_c b/package/iptraf/patches/patch-src_tcptable_c
index 6ac96e6d1..80b74ba4f 100644
--- a/package/iptraf/patches/patch-src_tcptable_c
+++ b/package/iptraf/patches/patch-src_tcptable_c
@@ -1,6 +1,6 @@
$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- iptraf-3.0.0.orig/src/tcptable.c 2005-09-13 08:42:54.000000000 +0200
-+++ iptraf-3.0.0/src/tcptable.c 2009-05-21 23:07:02.000000000 +0200
+--- iptraf-3.0.1.orig/src/tcptable.c 2005-09-13 08:42:54.000000000 +0200
++++ iptraf-3.0.1/src/tcptable.c 2013-03-04 11:38:22.000000000 +0100
@@ -17,6 +17,7 @@ details.
***/
@@ -29,7 +29,7 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
/*
* Set raw port numbers
-@@ -596,12 +597,10 @@ void updateentry(struct tcptable *table,
+@@ -596,14 +597,10 @@ void updateentry(struct tcptable *table,
tableentry->spanbr += bcount;
if (opts->mac) {
@@ -40,6 +40,8 @@ $Id: update-patches 24 2008-08-31 14:56:13Z wbx $
convmacaddr(((struct ethhdr *) packet)->h_source, newmacaddr);
- } else if (linkproto == LINK_FDDI) {
- convmacaddr(((struct fddihdr *) packet)->saddr, newmacaddr);
- } else if (linkproto == LINK_TR) {
- convmacaddr(((struct trh_hdr *) packet)->saddr, newmacaddr);
+- } else if (linkproto == LINK_TR) {
+- convmacaddr(((struct trh_hdr *) packet)->saddr, newmacaddr);
}
+
+ if (tableentry->smacaddr[0] != '\0') {