aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ncp2222.inc
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-ncp2222.inc')
-rw-r--r--epan/dissectors/packet-ncp2222.inc13
1 files changed, 9 insertions, 4 deletions
diff --git a/epan/dissectors/packet-ncp2222.inc b/epan/dissectors/packet-ncp2222.inc
index e386c63502..fd6bc81ed0 100644
--- a/epan/dissectors/packet-ncp2222.inc
+++ b/epan/dissectors/packet-ncp2222.inc
@@ -6982,7 +6982,8 @@ ncp2222_compile_dfilters(void)
void
dissect_ncp_request(tvbuff_t *tvb, packet_info *pinfo,
guint32 nw_connection, guint8 sequence,
- guint16 type, proto_tree *volatile ncp_tree)
+ guint16 type, gboolean is_lip_echo_allocate_slot,
+ proto_tree *volatile ncp_tree)
{
volatile guint8 func=0;
volatile guint8 subfunc = 0;
@@ -7011,9 +7012,13 @@ dissect_ncp_request(tvbuff_t *tvb, packet_info *pinfo,
/* Determine which ncp_record to use. */
switch (type) {
case NCP_ALLOCATE_SLOT:
- ncp_rec = &ncp1111_request;
- if (ncp_echo_conn) {
- expert_add_info(pinfo, NULL, &ei_ncp_connection_request);
+ if (is_lip_echo_allocate_slot) {
+ ncp_rec = &ncplip_echo;
+ } else {
+ ncp_rec = &ncp1111_request;
+ if (ncp_echo_conn) {
+ expert_add_info(pinfo, NULL, &ei_ncp_connection_request);
+ }
}
break;
case NCP_SERVICE_REQUEST: