diff options
author | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-06-30 07:51:52 +0000 |
---|---|---|
committer | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-06-30 07:51:52 +0000 |
commit | 6a729e019014e83f261c9e8cccbd527d527d96f4 (patch) | |
tree | 92578c108b171b86aaab6dcf07ab27a6f9cdc9e9 /epan/dissectors | |
parent | b7788bd6351117df646260219f6960c2d710c787 (diff) |
from aaron christensen
fix dissection of get_auth_attr
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18619 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-ndmp.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ndmp.c b/epan/dissectors/packet-ndmp.c index 668b080596..98ed0a26e3 100644 --- a/epan/dissectors/packet-ndmp.c +++ b/epan/dissectors/packet-ndmp.c @@ -654,6 +654,19 @@ dissect_auth_attr_msg(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, } 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) { @@ -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, |