1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../iptraf/compile-fix.patch
5 # Copyright (C) 2005 - 2008 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- iptraf-3.0.1/src/tcptable.h.vanilla 2008-09-04 16:00:30.000000000 +0200
18 +++ iptraf-3.0.1/src/tcptable.h 2008-09-04 16:06:18.000000000 +0200
20 #include <arpa/inet.h>
21 #include <net/if_arp.h>
22 #include <asm/types.h>
27 #include <linux/if_packet.h>
28 #include <linux/if_ether.h>
29 #include <linux/netdevice.h>
30 #include <linux/if_fddi.h>
31 #include <linux/if_tr.h>
32 -// #include <net/if.h>
34 #include <netinet/ip.h>
35 #include <netinet/udp.h>
37 --- iptraf-3.0.1/src/othptab.c.vanilla 2008-09-04 15:59:34.000000000 +0200
38 +++ iptraf-3.0.1/src/othptab.c 2008-09-04 16:07:28.000000000 +0200
41 #include <asm/types.h>
42 #include <sys/socket.h>
43 -#include <linux/if_ether.h>
44 -#include <linux/if_tr.h>
45 -#include <linux/netdevice.h>
46 -#include <linux/if_fddi.h>
48 +#include "tcptable.h"
52 -#include "tcptable.h"
56 diff -Nur iptraf-3.0.0-orig/src/tr.c iptraf-3.0.0/src/tr.c
57 --- iptraf-3.0.0-orig/src/tr.c 2005-09-13 06:42:54.000000000 +0000
58 +++ iptraf-3.0.0/src/tr.c 2005-12-28 19:07:49.000000000 +0000
61 #include <asm/types.h>
62 #include <linux/if_tr.h>
63 -#include <netinet/in.h>
64 +//#include <netinet/in.h>
66 unsigned int get_tr_ip_offset(unsigned char *pkt)