The 'mbrtu' dissector should be registered with RTAC Serial, not the 'modbus' one.

(This error was missed by me when confirming recent changes to the RTAC
serial dissector and fixes decoding of RTAC serial Modbus captures.)

Change-Id: I2df609f88263e90ae4815722ff76b6a0b988a01e
Reviewed-on: https://code.wireshark.org/review/6973
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
cbontje 2015-02-05 12:49:58 -07:00 committed by Michael Mann
parent 99761aab16
commit 3f480c6cd3

View file

@ -1880,7 +1880,7 @@ proto_reg_handoff_mbrtu(void)
mbrtu_port = global_mbus_rtu_port;
dissector_add_uint("mbtcp.prot_id", MODBUS_PROTOCOL_ID, modbus_handle);
dissector_add_uint("rtacser.data", RTACSER_PAYLOAD_MODBUS, modbus_handle);
dissector_add_uint("rtacser.data", RTACSER_PAYLOAD_MODBUS, mbrtu_handle);
}