Skip to content

Commit

Permalink
from aaron christensen
Browse files Browse the repository at this point in the history
fix dissection of get_auth_attr



svn path=/trunk/; revision=18619
  • Loading branch information
Ronnie Sahlberg committed Jun 30, 2006
1 parent ed916f0 commit 0e34335
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -2621,6 +2621,7 @@ Diego Pettenò <flameeyes [AT] gentoo.org>
Daniel Black <dragonheart [AT] gentoo.org>
Stephen Fisher <stephentfisher [AT] yahoo.com>
Christoph Werle <Christoph.Werle [AT] ira.uka.de>
Aaron Christensen <aaronmf [AT] gmail.com>

Alain Magloire <alainm[AT]rcsm.ece.mcgill.ca> was kind enough to
give his permission to use his version of snprintf.c.
Expand Down
15 changes: 14 additions & 1 deletion epan/dissectors/packet-ndmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,19 @@ dissect_auth_attr_msg(tvbuff_t *tvb, int offset, packet_info *pinfo _U_,
return offset;
}

static int
dissect_ndmp_config_get_auth_attr_reply(tvbuff_t *tvb, int offset,
packet_info *pinfo, proto_tree *tree, guint32 seq)
{
/* error */
offset = dissect_error(tvb, offset, pinfo, tree, seq);

/* auth_attr */
offset = dissect_auth_attr_msg(tvb, offset, pinfo, tree, seq);

return offset;
}

static int
dissect_default_env(tvbuff_t *tvb, int offset, packet_info *pinfo _U_,
proto_tree *tree)
Expand Down Expand Up @@ -2632,7 +2645,7 @@ static const ndmp_command ndmp_commands[] = {
{NDMP_CONFIG_GET_CONNECTION_TYPE,
NULL, dissect_ndmp_config_get_connection_type_reply},
{NDMP_CONFIG_GET_AUTH_ATTR,
dissect_get_auth_type_request, dissect_auth_attr_msg},
dissect_get_auth_type_request, dissect_ndmp_config_get_auth_attr_reply},
{NDMP_CONFIG_GET_BUTYPE_INFO,
NULL, dissect_get_butype_info_reply},
{NDMP_CONFIG_GET_FS_INFO,
Expand Down

0 comments on commit 0e34335

Please sign in to comment.