File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 20
20
*/
21
21
22
22
/* \summary: DECnet printer */
23
+ /*
24
+ * specification: Section 10.0 MESSAGES
25
+ * DECnet Digital Network Architecture
26
+ * Phase IV
27
+ * Routing Layer Functional Specification
28
+ * Order No. AA-X435A-TK
29
+ * Version 2.0.0 December 1983
30
+ */
23
31
24
32
#include <config.h>
25
33
@@ -480,6 +488,11 @@ decnet_print(netdissect_options *ndo,
480
488
goto invalid ;
481
489
}
482
490
491
+ /*
492
+ * This length does not seem to be in any specification, but it is present
493
+ * in the test case packet capture, which is consistent with the Wireshark
494
+ * protocol decoder.
495
+ */
483
496
pktlen = GET_LE_U_2 (ap );
484
497
if (pktlen < sizeof (struct shorthdr )) {
485
498
ND_PRINT (" (pktlen %u < %zu)" , pktlen , sizeof (struct shorthdr ));
You can’t perform that action at this time.
0 commit comments