On Monday, April 01, 2013 04:03:18 Antonio Quartulli wrote:
Signed-off-by: Antonio Quartulli ordex@autistici.org
tcpdump.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tcpdump.c b/tcpdump.c index 39239dd..bf4edd4 100644 --- a/tcpdump.c +++ b/tcpdump.c @@ -562,7 +562,8 @@ static void dump_batman_4addr(unsigned char *packet_buff, ssize_t buff_len, int
printf("%s: 4ADDR, subtype %d, ttvn %d, ttl %hhu, ", get_name_by_macaddr((struct ether_addr *)unicast_4addr_packet->u.dest, read_opt),
unicast_4addr_packet->u.ttvn, unicast_4addr_packet->u.header.ttl);
unicast_4addr_packet->subtype, unicast_4addr_packet->u.ttvn,
unicast_4addr_packet->u.header.ttl);
You added the subtype printf format string with the previous patch already. You might want to fix this.
Cheers, Marek