"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "print-zep.c" between
tcpdump-4.99.0.tar.gz and tcpdump-4.99.1.tar.gz

About: tcpdump is a tool for network monitoring and data acquisition.

print-zep.c  (tcpdump-4.99.0):print-zep.c  (tcpdump-4.99.1)
skipping to change at line 30 skipping to change at line 30
*/ */
/* \summary: ZigBee Encapsulation Protocol (ZEP) printer */ /* \summary: ZigBee Encapsulation Protocol (ZEP) printer */
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include <config.h> #include <config.h>
#endif #endif
#include "netdissect-stdinc.h" #include "netdissect-stdinc.h"
#define ND_LONGJMP_FROM_TCHECK
#include "netdissect.h" #include "netdissect.h"
#include "extract.h" #include "extract.h"
/* From wireshark packet-zep.c: /* From wireshark packet-zep.c:
* *
*********************************************************************** ***********************************************************************
* *
* ZEP Packets must be received in the following format: * ZEP Packets must be received in the following format:
* *
skipping to change at line 169 skipping to change at line 170
seq_no, inner_len); seq_no, inner_len);
bp += 32; bp += 32;
len -= 32; len -= 32;
} }
} }
if (inner_len != 0) { if (inner_len != 0) {
/* Call 802.15.4 dissector. */ /* Call 802.15.4 dissector. */
ND_PRINT("\n\t"); ND_PRINT("\n\t");
if (ieee802_15_4_print(ndo, bp, inner_len)) { if (ieee802_15_4_print(ndo, bp, inner_len)) {
ND_TCHECK_LEN(bp, len);
bp += len; bp += len;
len = 0; len = 0;
} }
} }
if (!ndo->ndo_suppress_default_print) if (!ndo->ndo_suppress_default_print)
ND_DEFAULTPRINT(bp, len); ND_DEFAULTPRINT(bp, len);
} }
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)