Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
:
netflow
>
flow-tools
> flow-tools.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File flow-tools.diff of Package flow-tools
diff -uNr flow-tools-0.68.orig/lib/ftchash.c flow-tools-0.68/lib/ftchash.c --- flow-tools-0.68.orig/lib/ftchash.c 2003-08-12 20:04:25.000000000 +0200 +++ flow-tools-0.68/lib/ftchash.c 2007-02-19 05:23:28.000000000 +0100 @@ -326,7 +326,7 @@ (char*)ftch->traverse_chunk->base+ftch->traverse_chunk->next) { ret = ftch->traverse_rec; - (char*)ftch->traverse_rec += ftch->d_size; + ftch->traverse_rec += ftch->d_size; return ret; } else { diff -uNr flow-tools-0.68.orig/lib/ftio.c flow-tools-0.68/lib/ftio.c --- flow-tools-0.68.orig/lib/ftio.c 2003-02-24 01:51:47.000000000 +0100 +++ flow-tools-0.68/lib/ftio.c 2007-02-19 05:21:04.000000000 +0100 @@ -2267,7 +2267,7 @@ break; nleft -= nread; - (char*)ptr += nread; + ptr += nread; } return (nbytes - nleft); } /* readn */ @@ -2292,7 +2292,7 @@ return(nwritten); /* error */ nleft -= nwritten; - (char*)ptr += nwritten; + ptr += nwritten; } return(nbytes - nleft); } /* writen */ diff -uNr flow-tools-0.68.orig/lib/fttlv.c flow-tools-0.68/lib/fttlv.c --- flow-tools-0.68.orig/lib/fttlv.c 2003-02-13 03:38:43.000000000 +0100 +++ flow-tools-0.68/lib/fttlv.c 2007-02-19 05:23:12.000000000 +0100 @@ -68,10 +68,10 @@ } bcopy(&t, buf, 2); - (char*)buf+= 2; + buf+= 2; bcopy(&len, buf, 2); - (char*)buf+= 2; + buf+= 2; bcopy(&v, buf, 4); @@ -107,10 +107,10 @@ } bcopy(&t, buf, 2); - (char*)buf+= 2; + buf+= 2; bcopy(&len, buf, 2); - (char*)buf+= 2; + buf+= 2; bcopy(&v, buf, 2); @@ -145,10 +145,10 @@ } bcopy(&t, buf, 2); - (char*)buf+= 2; + buf+= 2; bcopy(&len, buf, 2); - (char*)buf+= 2; + buf+= 2; bcopy(&v, buf, 1); @@ -183,10 +183,10 @@ } bcopy(&t, buf, 2); - (char*)buf+= 2; + buf+= 2; bcopy(&len, buf, 2); - (char*)buf+= 2; + buf+= 2; bcopy(v, buf, len); @@ -230,16 +230,16 @@ return -1; bcopy(&t, buf, 2); - (char*)buf+= 2; + buf+= 2; bcopy(&len, buf, 2); - (char*)buf+= 2; + buf+= 2; bcopy(&ip, buf, 4); - (char*)buf += 4; + buf += 4; bcopy(&ifIndex, buf, 2); - (char*)buf += 2; + buf += 2; bcopy(name, buf, n); @@ -287,19 +287,19 @@ } bcopy(&t, buf, 2); - (char*)buf+= 2; + buf+= 2; bcopy(&len, buf, 2); - (char*)buf+= 2; + buf+= 2; bcopy(&ip, buf, 4); - (char*)buf += 4; + buf += 4; bcopy(&entries, buf, 2); - (char*)buf += 2; + buf += 2; bcopy(ifIndex_list, buf, esize); - (char*)buf += esize; + buf += esize; bcopy(name, buf, n);