aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-lpd.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-07-10 09:26:20 +0000
committerGuy Harris <guy@alum.mit.edu>2005-07-10 09:26:20 +0000
commit79beab421d2e1db21dbe856e141df346b22d7a09 (patch)
tree772ffb4ccb2fb439c5bb4a454bd3961be5bc08cd /epan/dissectors/packet-lpd.c
parentb6b0ee7cf8cc07347e9f429b5baa6a08128ee42d (diff)
Put the data (print job contents) in LPD requests under the LPD protocol
item, rather than making it a top-level item. svn path=/trunk/; revision=14893
Diffstat (limited to 'epan/dissectors/packet-lpd.c')
-rw-r--r--epan/dissectors/packet-lpd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-lpd.c b/epan/dissectors/packet-lpd.c
index d79ea39638..8585c1d8a8 100644
--- a/epan/dissectors/packet-lpd.c
+++ b/epan/dissectors/packet-lpd.c
@@ -128,7 +128,7 @@ dissect_lpd(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
tvb_format_text(tvb, 1, printer_len));
}
else {
- call_dissector(data_handle,tvb, pinfo, tree);
+ call_dissector(data_handle,tvb, pinfo, lpd_tree);
}
}
else if (lpr_packet_type == response) {
@@ -137,11 +137,11 @@ dissect_lpd(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
"Response: %s", lpd_server_code[code]);
}
else {
- call_dissector(data_handle,tvb, pinfo, tree);
+ call_dissector(data_handle,tvb, pinfo, lpd_tree);
}
}
else {
- call_dissector(data_handle,tvb, pinfo, tree);
+ call_dissector(data_handle,tvb, pinfo, lpd_tree);
}
}
}