Profinet: Add Watchdog Factor data field in IOCRBlockReq.
The Watchdog Factor was displayed as Data Hold Factor, which was wrong. Attribute type of the Watchdog Factor is also Unsigned16. Change-Id: Ic5f32b9b322c225361be50b1f4a3180638a0c88b Reviewed-on: https://code.wireshark.org/review/11161 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
a4d2b0306e
commit
a86acb2ac7
|
@ -153,6 +153,7 @@ static int hf_pn_io_frame_data_properties_FastForwardingMulticastMACAdd = -1;
|
|||
static int hf_pn_io_frame_data_properties_FragmentMode = -1;
|
||||
static int hf_pn_io_frame_data_properties_reserved_1 = -1;
|
||||
static int hf_pn_io_frame_data_properties_reserved_2 = -1;
|
||||
static int hf_pn_io_watchdog_factor = -1;
|
||||
static int hf_pn_io_data_hold_factor = -1;
|
||||
static int hf_pn_io_iocr_tag_header = -1;
|
||||
static int hf_pn_io_iocr_multicast_mac_add = -1;
|
||||
|
@ -7176,7 +7177,7 @@ dissect_IOCRBlockReq_block(tvbuff_t *tvb, int offset,
|
|||
offset = dissect_dcerpc_uint32(tvb, offset, pinfo, tree, drep,
|
||||
hf_pn_io_frame_send_offset, &u32FrameSendOffset);
|
||||
offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep,
|
||||
hf_pn_io_data_hold_factor, &u16WatchdogFactor);
|
||||
hf_pn_io_watchdog_factor, &u16WatchdogFactor);
|
||||
offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep,
|
||||
hf_pn_io_data_hold_factor, &u16DataHoldFactor);
|
||||
offset = dissect_dcerpc_uint16(tvb, offset, pinfo, tree, drep,
|
||||
|
@ -10185,6 +10186,11 @@ proto_register_pn_io (void)
|
|||
FT_UINT32, BASE_HEX, NULL, 0xFFFF0000,
|
||||
NULL, HFILL }
|
||||
},
|
||||
{ &hf_pn_io_watchdog_factor,
|
||||
{ "WatchdogFactor", "pn_io.watchdog_factor",
|
||||
FT_UINT16, BASE_DEC, NULL, 0x0,
|
||||
NULL, HFILL }
|
||||
},
|
||||
{ &hf_pn_io_data_hold_factor,
|
||||
{ "DataHoldFactor", "pn_io.data_hold_factor",
|
||||
FT_UINT16, BASE_DEC, NULL, 0x0,
|
||||
|
|
Loading…
Reference in New Issue