diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-12-29 04:41:30 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-12-29 04:41:30 +0000 |
commit | 02380babc15350f1e77512ceaf426c28b68dbcab (patch) | |
tree | 72eb5013e64aa3e3c61a6b1d82bb6de77fce7367 /packet-pptp.c | |
parent | 5bcb17c724b7c1958a0f36d2a421fa7e6da9345e (diff) | |
download | wireshark-02380babc15350f1e77512ceaf426c28b68dbcab.tar.gz wireshark-02380babc15350f1e77512ceaf426c28b68dbcab.tar.bz2 wireshark-02380babc15350f1e77512ceaf426c28b68dbcab.zip |
Fix up some calls in which I didn't replace "NullTVB" with "tvb".
svn path=/trunk/; revision=2801
Diffstat (limited to 'packet-pptp.c')
-rw-r--r-- | packet-pptp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packet-pptp.c b/packet-pptp.c index eb49b68cb3..1ce0c1a2ba 100644 --- a/packet-pptp.c +++ b/packet-pptp.c @@ -2,7 +2,7 @@ * Routines for the Point-to-Point Tunnelling Protocol (PPTP) (RFC 2637) * Brad Robel-Forrest <brad.robel-forrest@watchguard.com> * - * $Id: packet-pptp.c,v 1.14 2000/12/29 00:35:51 guy Exp $ + * $Id: packet-pptp.c,v 1.15 2000/12/29 04:41:30 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -417,7 +417,7 @@ dissect_stop_req(tvbuff_t *tvb, int offset, packet_info *pinfo, guint8 reason; reason = tvb_get_guint8(tvb, offset); - proto_tree_add_text(tree, NullTVB, offset, 1, + proto_tree_add_text(tree, tvb, offset, 1, "Reason: %s (%u)", reasontype2str(reason), reason); offset += 1; @@ -470,12 +470,12 @@ dissect_echo_reply(tvbuff_t *tvb, int offset, packet_info *pinfo, offset += 4; result = tvb_get_guint8(tvb, offset); - proto_tree_add_text(tree, NullTVB, offset, 1, + proto_tree_add_text(tree, tvb, offset, 1, "Result: %s (%u)", echoresulttype2str(result), result); offset += 1; error = tvb_get_guint8(tvb, offset); - proto_tree_add_text(tree, NullTVB, offset, sizeof(error), + proto_tree_add_text(tree, tvb, offset, sizeof(error), "Error: %s (%u)", errortype2str(error), error); offset += 1; @@ -540,7 +540,7 @@ dissect_out_req(tvbuff_t *tvb, int offset, packet_info *pinfo, offset += PHONELEN; tvb_get_nstringz0(tvb, offset, SUBADDRLEN, subaddr); - proto_tree_add_text(tree, NullTVB, offset, SUBADDRLEN, + proto_tree_add_text(tree, tvb, offset, SUBADDRLEN, "Subaddress: %s", subaddr); } @@ -565,7 +565,7 @@ dissect_out_reply(tvbuff_t *tvb, int offset, packet_info *pinfo, offset += 1; error = tvb_get_guint8(tvb, offset); - proto_tree_add_text(tree, NullTVB, offset, 1, + proto_tree_add_text(tree, tvb, offset, 1, "Error: %s (%u)", errortype2str(error), error); offset += 1; |