summaryrefslogtreecommitdiffstats
path: root/contrib/tcpdump/print-rsvp.c
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2011-12-28 05:58:31 +0000
committerkevlo <kevlo@FreeBSD.org>2011-12-28 05:58:31 +0000
commit8ccf51483cf161d511c2f467a442e19ece12d97b (patch)
tree83c4baca6473b88f9b093c452bc921f30b26fe0f /contrib/tcpdump/print-rsvp.c
parentef46f37483114f91ba855f1036a2f9078e9dea81 (diff)
downloadFreeBSD-src-8ccf51483cf161d511c2f467a442e19ece12d97b.zip
FreeBSD-src-8ccf51483cf161d511c2f467a442e19ece12d97b.tar.gz
Fix incorrect uses of sizeof().
The details of the fix can be found in the tcpdump git repository: commit 684955d58611ee94eccdc34e82b32e676337188c
Diffstat (limited to 'contrib/tcpdump/print-rsvp.c')
-rw-r--r--contrib/tcpdump/print-rsvp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tcpdump/print-rsvp.c b/contrib/tcpdump/print-rsvp.c
index 6aa2f6d..1c76dcb 100644
--- a/contrib/tcpdump/print-rsvp.c
+++ b/contrib/tcpdump/print-rsvp.c
@@ -1790,7 +1790,7 @@ _U_
}
/* do we also want to see a hex dump ? */
if (vflag > 1 || hexdump==TRUE)
- print_unknown_data(tptr+sizeof(sizeof(struct rsvp_object_header)),"\n\t ", /* FIXME indentation */
+ print_unknown_data(tptr+sizeof(struct rsvp_object_header),"\n\t ", /* FIXME indentation */
rsvp_obj_len-sizeof(struct rsvp_object_header));
tptr+=rsvp_obj_len;
OpenPOWER on IntegriCloud