"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "print-forces.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-forces.c  (tcpdump-4.99.0):print-forces.c  (tcpdump-4.99.1)
skipping to change at line 744 skipping to change at line 744
rlen = len; rlen = len;
indent += 1; indent += 1;
while (rlen != 0) { while (rlen != 0) {
#if 0 #if 0
ND_PRINT("Jamal - outstanding length <%u>\n", rlen); ND_PRINT("Jamal - outstanding length <%u>\n", rlen);
#endif #endif
char *ib = indent_pr(indent, 1); char *ib = indent_pr(indent, 1);
const u_char *tdp = (const u_char *) ILV_DATA(ilv); const u_char *tdp = (const u_char *) ILV_DATA(ilv);
invilv = ilv_valid(ndo, ilv, rlen); invilv = ilv_valid(ndo, ilv, rlen);
if (invilv) { if (invilv) {
ND_PRINT("%s[", ib + 1); ND_PRINT("Error: %s, rlen %u\n",
hex_print(ndo, ib, tdp, rlen); tok2str(ForCES_TLV_err, NULL, invilv), rlen);
ND_PRINT("\n%s]\n", ib + 1);
return -1; return -1;
} }
if (ndo->ndo_vflag >= 3) { if (ndo->ndo_vflag >= 3) {
u_int ilvl = GET_BE_U_4(ilv->length); u_int ilvl = GET_BE_U_4(ilv->length);
ND_PRINT("\n%s ILV: type %x length %u\n", ib + 1, ND_PRINT("\n%s ILV: type %x length %u\n", ib + 1,
GET_BE_U_4(ilv->type), ilvl); GET_BE_U_4(ilv->type), ilvl);
hex_print(ndo, "\t\t[", tdp, ilvl-ILV_HDRL); hex_print(ndo, "\t\t[", tdp, ilvl-ILV_HDRL);
} }
ilv = GO_NXT_ILV(ilv, rlen); ilv = GO_NXT_ILV(ilv, rlen);
 End of changes. 1 change blocks. 
3 lines changed or deleted 2 lines changed or added

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