--- packet-frame.c@rev=HEAD	2003-10-22 10:20:33.843529800 +0200
+++ packet-frame.c	2003-10-22 10:09:42.784607800 +0200
@@ -42,6 +42,7 @@
 static int hf_frame_number = -1;
 static int hf_frame_packet_len = -1;
 static int hf_frame_capture_len = -1;
+static int hf_frame_truncated = -1;
 static int hf_frame_p2p_dir = -1;
 static int hf_frame_file_off = -1;
 static int hf_frame_marked = -1;
@@ -165,6 +166,11 @@
 		0, 0, cap_len, "Capture Length: %d byte%s", cap_len,
 		plurality(cap_len, "", "s"));
 
+	  if (pkt_len > cap_len) { /* Truncated */
+		  proto_tree_add_boolean(fh_tree, hf_frame_truncated,
+				  tvb, 0, 0, 1 /* TRUE */);
+	  }
+
 	  /* Check for existences of P2P pseudo header */
 	  if (pinfo->p2p_dir != P2P_DIR_UNKNOWN) {
 		  proto_tree_add_uint(fh_tree, hf_frame_p2p_dir, tvb,
@@ -258,11 +264,15 @@
 
 		{ &hf_frame_packet_len,
 		{ "Total Frame Length",		"frame.pkt_len", FT_UINT32, BASE_DEC, NULL, 0x0,
-			"", HFILL }},
+			"Reported length of the Frame", HFILL }},
 
 		{ &hf_frame_capture_len,
 		{ "Capture Frame Length",	"frame.cap_len", FT_UINT32, BASE_DEC, NULL, 0x0,
-			"", HFILL }},
+			"Captured length of the Frame", HFILL }},
+
+		{ &hf_frame_truncated,
+		{ "Frame has been truncated",	"frame.truncated", FT_BOOLEAN, BASE_NONE, NULL, 0x0,
+			"Indicates whether the Frame has been truncated (captured length is less than frame length)", HFILL }},
 
 		{ &hf_frame_p2p_dir,
 		{ "Point-to-Point Direction",	"frame.p2p_dir", FT_UINT8, BASE_DEC, VALS(p2p_dirs), 0x0,
