Author: marek Date: 2010-05-17 10:18:55 +0200 (Mon, 17 May 2010) New Revision: 1658
Modified: trunk/batctl/tcpdump.c Log: batctl: adjust tcpdump to expanded bcast seqno
Signed-off-by: Marek Lindner lindner_marek@yahoo.de
Modified: trunk/batctl/tcpdump.c =================================================================== --- trunk/batctl/tcpdump.c 2010-05-17 08:18:51 UTC (rev 1657) +++ trunk/batctl/tcpdump.c 2010-05-17 08:18:55 UTC (rev 1658) @@ -376,9 +376,9 @@ printf("BAT %s: ", get_name_by_macaddr((struct ether_addr *)ether_header->ether_shost, read_opt));
- printf("BCAST, orig %s, seqno %hu, ", + printf("BCAST, orig %s, seqno %u, ", get_name_by_macaddr((struct ether_addr *)bcast_packet->orig, read_opt), - ntohs(bcast_packet->seqno)); + ntohl(bcast_packet->seqno));
ether_header = (struct ether_header *)(packet_buff + sizeof(struct ether_header) + sizeof(struct bcast_packet));