diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-08-17 11:56:26 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-08-17 11:58:46 +0000 |
commit | 61d4acf8298fcbcdb0e57b3a132b16d71edeff57 (patch) | |
tree | a235e799f16640a42e9881d1789136976f9f9440 /main/iptraf/iptraf-3.0.0-vlan.patch | |
parent | d4cb432f2aca9d95e1a2f27b2bfe6c0c712e5c15 (diff) | |
download | aports-61d4acf8298fcbcdb0e57b3a132b16d71edeff57.tar.bz2 aports-61d4acf8298fcbcdb0e57b3a132b16d71edeff57.tar.xz |
main/iptraf-ng: replace iptraf
Diffstat (limited to 'main/iptraf/iptraf-3.0.0-vlan.patch')
-rw-r--r-- | main/iptraf/iptraf-3.0.0-vlan.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/main/iptraf/iptraf-3.0.0-vlan.patch b/main/iptraf/iptraf-3.0.0-vlan.patch deleted file mode 100644 index f0087bf394..0000000000 --- a/main/iptraf/iptraf-3.0.0-vlan.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- src/packet.c.orig 2008-03-07 17:56:48.000000000 +0200 -+++ src/packet.c 2008-03-07 18:05:41.000000000 +0200 -@@ -101,8 +101,8 @@ - result = LINK_ETHERNET; - else if (strncmp(ifname, "tun", 3) == 0) - result = LINK_ETHERNET; -- else if (strncmp(ifname, "vlan", 3) == 0) -- result = LINK_VLAN; -+ else if (strncmp(ifname, "vlan", 4) == 0) -+ result = LINK_ETHERNET; - else if (strncmp(ifname, "brg", 3) == 0) - result = LINK_ETHERNET; - else if (strncmp(ifname, "tap", 3) == 0) -@@ -231,14 +231,6 @@ - case LINK_IPIP: - *packet = tpacket; - break; -- case LINK_VLAN: -- *packet = tpacket + VLAN_ETH_HLEN; -- readlen -= VLAN_ETH_HLEN; -- /* -- * Move IP datagram into an aligned buffer. -- */ -- memmove(aligned_buf, *packet, min(SNAPSHOT_LEN, *readlen)); -- *packet = aligned_buf; - default: - *packet = (char *) NULL; /* return a NULL packet to signal */ - break; /* an unrecognized link protocol */ |