[Olsr-commit] OLSR.org main repository branch, master, updated. v0.6.4-240-g7e61a03
(spam-protected)
(spam-protected)
Tue Nov 13 22:51:49 CET 2012
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OLSR.org main repository".
See http://olsr.org/git/?p=olsrd.git;a=commitdiff;h=v0.6.4-240-g7e61a03
for a web version of the last commit.
The branch, master has been updated
via 7e61a032cba31e783571cc6e9ce4c9c5535dd1a8 (commit)
via 688bbb1b0909decfd00ce8e8001cb5355cf00a3d (commit)
from da37af86da1761032f42e5085935452bde3e2258 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7e61a032cba31e783571cc6e9ce4c9c5535dd1a8
Author: Ferry Huberts <(spam-protected)>
Date: Tue Nov 13 15:03:42 2012 +0100
main: remove -dispin and -dispout command line options
Because we actually remove print_packet: tcpdump can parse
olsr packets (for years now already) so print_packet is no
longer needed.
Signed-off-by: Ferry Huberts <(spam-protected)>
commit 688bbb1b0909decfd00ce8e8001cb5355cf00a3d
Author: Ferry Huberts <(spam-protected)>
Date: Tue Nov 13 14:05:12 2012 +0100
print_packet: fix wrong use of sizeof()
Coverity:
CID 739690 (#1 of 1): Extra sizeof expression (SIZEOF_MISMATCH)
Adding "4UL /* sizeof (haddr->v4) */" to pointer "haddr" of
type "union olsr_ip_addr *" is suspicious because adding an integral
value to this pointer automatically scales that value by the size,
16 bytes, of the pointed-to type, "union olsr_ip_addr". Most likely,
"sizeof (haddr->v4)" is extraneous and should be replaced with 1.
CID 739691 (#1 of 1): Extra sizeof expression (SIZEOF_MISMATCH)
Adding "4UL /* sizeof (haddr->v4) */" to pointer "haddr" of
type "union olsr_ip_addr *" is suspicious because adding an integral
value to this pointer automatically scales that value by the size,
16 bytes, of the pointed-to type, "union olsr_ip_addr". Most likely,
"sizeof (haddr->v4)" is extraneous and should be replaced with 1.
Signed-off-by: Ferry Huberts <(spam-protected)>
-----------------------------------------------------------------------
Summary of changes:
gui/win32/Inst/linux-manual.txt | 12 +--
src/main.c | 18 +--
src/net_olsr.c | 16 --
src/net_olsr.h | 2 -
src/parser.c | 13 --
src/parser.h | 2 -
src/print_packet.c | 349 ---------------------------------------
src/print_packet.h | 60 -------
8 files changed, 2 insertions(+), 470 deletions(-)
delete mode 100644 src/print_packet.c
delete mode 100644 src/print_packet.h
hooks/post-receive
--
OLSR.org main repository
More information about the Olsr-commit
mailing list