change all file offsets from long to gint64 so we can - theoretically - handle files...
[obnox/wireshark/wip.git] / print.c
diff --git a/print.c b/print.c
index a4c153e0f93b00a5dc4832332db279e650d45956..1d5fb78771e7115e5c5d3ba57889fb0e1b44813f 100644 (file)
--- a/print.c
+++ b/print.c
@@ -257,7 +257,9 @@ proto_tree_write_node_pdml(proto_node *node, gpointer data)
                        label_ptr = "";
                }
 
-               fputs("<field show=\"", pdata->fh);
+               /* Show empty name since it is a required field */
+               fputs("<field name=\"", pdata->fh);
+               fputs("\" show=\"", pdata->fh);
                print_escaped_xml(pdata->fh, label_ptr);
 
                fprintf(pdata->fh, "\" size=\"%d", fi->length);