diff options
Diffstat (limited to 'epan')
45 files changed, 80 insertions, 80 deletions
diff --git a/epan/dissectors/packet-3g-a11.c b/epan/dissectors/packet-3g-a11.c index 0a9a1c7067..a79ea39121 100644 --- a/epan/dissectors/packet-3g-a11.c +++ b/epan/dissectors/packet-3g-a11.c @@ -175,8 +175,8 @@ static int hf_a11_fqui_updated_qoslen; static int hf_a11_fqui_updated_qos; static int hf_a11_rqui_updated_qoslen; static int hf_a11_rqui_updated_qos; -static int hf_a11_subsciber_profile; -/* static int hf_a11_subsciber_profile_len; */ +static int hf_a11_subscriber_profile; +/* static int hf_a11_subscriber_profile_len; */ /* Initialize the subtree pointers */ static gint ett_a11; @@ -1198,7 +1198,7 @@ dissect_subscriber_qos_profile(tvbuff_t *tvb, packet_info *pinfo, int offset, in /* Subscriber QoS profile */ if (qos_profile_len) { proto_tree_add_item - (exts_tree, hf_a11_subsciber_profile, tvb, offset, + (exts_tree, hf_a11_subscriber_profile, tvb, offset, qos_profile_len, ENC_NA); dissect_attribute_value_pairs(exts_tree, pinfo, tvb, offset, qos_profile_len, NULL); @@ -2532,13 +2532,13 @@ proto_register_a11(void) NULL, HFILL } }, #if 0 - { &hf_a11_subsciber_profile_len, + { &hf_a11_subscriber_profile_len, { "Subscriber QoS Profile Length", "a11.ext.sqp.profilelen", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL } }, #endif - { &hf_a11_subsciber_profile, + { &hf_a11_subscriber_profile, { "Subscriber QoS Profile", "a11.ext.sqp.profile", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL } diff --git a/epan/dissectors/packet-bgp.c b/epan/dissectors/packet-bgp.c index 9eb7f5c447..beb70a88f6 100644 --- a/epan/dissectors/packet-bgp.c +++ b/epan/dissectors/packet-bgp.c @@ -168,7 +168,7 @@ static dissector_handle_t bgp_handle; #define BGP_CAPABILITY_BGP_ROLE 9 /* RFC9234 */ #define BGP_CAPABILITY_GRACEFUL_RESTART 64 /* RFC4724 */ #define BGP_CAPABILITY_4_OCTET_AS_NUMBER 65 /* RFC6793 */ -#define BGP_CAPABILITY_DYNAMIC_CAPABILITY_CISCO 66 /* Cisco Dynamic capabaility*/ +#define BGP_CAPABILITY_DYNAMIC_CAPABILITY_CISCO 66 /* Cisco Dynamic capability*/ #define BGP_CAPABILITY_DYNAMIC_CAPABILITY 67 /* draft-ietf-idr-dynamic-cap */ #define BGP_CAPABILITY_MULTISESSION 68 /* draft-ietf-idr-bgp-multisession */ #define BGP_CAPABILITY_ADDITIONAL_PATHS 69 /* [RFC7911] */ @@ -394,7 +394,7 @@ static dissector_handle_t bgp_handle; #define BGP_EXT_COM_EVPN_ETREE_FLAG_RESERVED 0xFE /* Reserved */ /* EPVN route AD NLRI ESI type */ -#define BGP_NLRI_EVPN_ESI_VALUE 0x00 /* ESI type 0, 9 bytes interger */ +#define BGP_NLRI_EVPN_ESI_VALUE 0x00 /* ESI type 0, 9 bytes integer */ #define BGP_NLRI_EVPN_ESI_LACP 0x01 /* ESI type 1, LACP 802.1AX */ #define BGP_NLRI_EVPN_ESI_MSTP 0x02 /* ESI type 2, MSTP defined ESI */ #define BGP_NLRI_EVPN_ESI_MAC 0x03 /* ESI type 3, MAC allocated value */ @@ -3050,7 +3050,7 @@ static gint ett_bgp_extended_community; /* extended community tree for each comm static gint ett_bgp_ext_com_type; /* Extended Community Type High tree (IANA, Transitive bits) */ static gint ett_bgp_extended_com_fspec_redir; /* extended communities BGP flow act redirect */ static gint ett_bgp_ext_com_flags; /* extended communities flags tree */ -static gint ett_bgp_ext_com_l2_flags; /* extended commuties tree for l2 services flags */ +static gint ett_bgp_ext_com_l2_flags; /* extended communities tree for l2 services flags */ static gint ett_bgp_ext_com_etree_flags; static gint ett_bgp_ext_com_evpn_mmac_flags; static gint ett_bgp_ext_com_evpn_l2attr_flags; diff --git a/epan/dissectors/packet-bitcoin.c b/epan/dissectors/packet-bitcoin.c index 0185e37f15..46fb25db9c 100644 --- a/epan/dissectors/packet-bitcoin.c +++ b/epan/dissectors/packet-bitcoin.c @@ -809,7 +809,7 @@ dissect_bitcoin_msg_getblocks(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree ti = proto_tree_add_item(tree, hf_bitcoin_msg_getblocks, tvb, offset, -1, ENC_NA); tree = proto_item_add_subtree(ti, ett_bitcoin_msg); - /* why the protcol version is sent here nobody knows */ + /* why the protocol version is sent here nobody knows */ proto_tree_add_item(tree, hf_msg_version_version, tvb, offset, 4, ENC_LITTLE_ENDIAN); offset += 4; diff --git a/epan/dissectors/packet-bthci_vendor.c b/epan/dissectors/packet-bthci_vendor.c index fecf5f1457..8334588a7b 100644 --- a/epan/dissectors/packet-bthci_vendor.c +++ b/epan/dissectors/packet-bthci_vendor.c @@ -923,7 +923,7 @@ dissect_bthci_vendor_broadcom(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tre offset += 1; break; - case 0x0154: /* LE Multi Adveritising */ + case 0x0154: /* LE Multi Advertising */ proto_tree_add_item(main_tree, hf_broadcom_le_multi_advertising_subcode, tvb, offset, 1, ENC_NA); offset += 1; diff --git a/epan/dissectors/packet-capwap.c b/epan/dissectors/packet-capwap.c index 7cd9e32aaa..5ce29f966d 100644 --- a/epan/dissectors/packet-capwap.c +++ b/epan/dissectors/packet-capwap.c @@ -3102,7 +3102,7 @@ dissect_capwap_header(tvbuff_t *tvb, proto_tree *capwap_control_tree, guint offs /* Reserved 3 Bits */ proto_tree_add_item(capwap_header_tree, hf_capwap_header_reserved, tvb, offset+plen+1, 1, ENC_BIG_ENDIAN); plen += 2; - /* Optionnal Headers */ + /* Optional Headers */ if (flags & 0x10 /* Radio MAC address */) { maclength=tvb_get_guint8(tvb, offset+plen); proto_tree_add_item(capwap_header_tree, hf_capwap_header_mac_length, tvb, offset+plen, 1, ENC_BIG_ENDIAN); diff --git a/epan/dissectors/packet-cattp.c b/epan/dissectors/packet-cattp.c index e1e24812bc..d8c05e0dd1 100644 --- a/epan/dissectors/packet-cattp.c +++ b/epan/dissectors/packet-cattp.c @@ -108,7 +108,7 @@ static const value_string cattp_reset_reason[] = { static const unit_name_string units_pdu = { "PDU", "PDUs" }; -/* Forward declartion due to use of heuristic dissection preference. */ +/* Forward declaration due to use of heuristic dissection preference. */ void proto_reg_handoff_cattp(void); void proto_register_cattp(void); diff --git a/epan/dissectors/packet-ccsds.c b/epan/dissectors/packet-ccsds.c index 57d60474a3..f5babce3a8 100644 --- a/epan/dissectors/packet-ccsds.c +++ b/epan/dissectors/packet-ccsds.c @@ -703,7 +703,7 @@ proto_register_ccsds(void) "Specify how the dissector should handle the CCSDS checkword", &global_dissect_checkword, dissect_checkword, FALSE); - /* Dissector table for sub-dissetors */ + /* Dissector table for sub-dissectors */ ccsds_dissector_table = register_dissector_table("ccsds.apid", "CCSDS apid", proto_ccsds, FT_UINT16, BASE_DEC); } diff --git a/epan/dissectors/packet-cesoeth.c b/epan/dissectors/packet-cesoeth.c index 178fe73bb6..80bb8f0344 100644 --- a/epan/dissectors/packet-cesoeth.c +++ b/epan/dissectors/packet-cesoeth.c @@ -213,7 +213,7 @@ dissect_cesoeth(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data ((heuristic_rtp_header) && /* Check for RTP version 2, the other fields must be zero */ (tvb_get_guint8(tvb, offset) == 0x80) && - /* Check the marker is zero. Unfortnately PT is not always from the dynamic range */ + /* Check the marker is zero. Unfortunately PT is not always from the dynamic range */ ((tvb_get_guint8(tvb, offset + 1) & 0x80) == 0) && /* The sequence numbers from cw and RTP header must match */ (tvb_get_ntohs(tvb, offset + 2) == sn))) diff --git a/epan/dissectors/packet-cisco-erspan.c b/epan/dissectors/packet-cisco-erspan.c index 14ad20dae8..52b60e3ee7 100644 --- a/epan/dissectors/packet-cisco-erspan.c +++ b/epan/dissectors/packet-cisco-erspan.c @@ -253,7 +253,7 @@ dissect_erspan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _ offset, 2, ENC_BIG_ENDIAN, &subheader); offset += 2; - /* Platform Sepcific SubHeader, 8 octets, optional */ + /* Platform Specific SubHeader, 8 octets, optional */ if (subheader) { gint32 platform_id = tvb_get_ntohl(tvb, offset) >> 26; diff --git a/epan/dissectors/packet-cl3.c b/epan/dissectors/packet-cl3.c index 8a29f0fa6b..c2923508de 100644 --- a/epan/dissectors/packet-cl3.c +++ b/epan/dissectors/packet-cl3.c @@ -54,7 +54,7 @@ static const value_string cl3_protocols[] = { }; -/* called for each incomming framing matching the CL3 ethertype with a version number of 1: */ +/* called for each incoming framing matching the CL3 ethertype with a version number of 1: */ static void dissect_cl3_v1( tvbuff_t *tvb, @@ -93,7 +93,7 @@ dissect_cl3_v1( } } -/* called for each incomming framing matching the CL3 ethertype: */ +/* called for each incoming framing matching the CL3 ethertype: */ static int dissect_cl3(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { @@ -131,7 +131,7 @@ dissect_cl3(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) expert_add_info(pinfo, ti, &ei_cl3_badheaderlen); } - /* version-specific disscection... */ + /* version-specific dissection... */ switch (version) { case 1: dissect_cl3_v1(tvb, pinfo, tree, ti, cl3_tree, header_length); diff --git a/epan/dissectors/packet-docsis-tlv.c b/epan/dissectors/packet-docsis-tlv.c index ad58f046c3..ea7e9c505d 100644 --- a/epan/dissectors/packet-docsis-tlv.c +++ b/epan/dissectors/packet-docsis-tlv.c @@ -6633,7 +6633,7 @@ proto_register_docsis_tlv (void) }, {&hf_docsis_tlv_mcap_low_latency_sup, {".76 Low Latency Support", - "docsis_tlv.mcap.low_latancy_sup", + "docsis_tlv.mcap.low_latency_sup", FT_UINT8, BASE_DEC, NULL, 0x0, "Low Latency Support", HFILL} }, diff --git a/epan/dissectors/packet-doip.c b/epan/dissectors/packet-doip.c index 1ad7531fb1..97298a50f3 100644 --- a/epan/dissectors/packet-doip.c +++ b/epan/dissectors/packet-doip.c @@ -383,7 +383,7 @@ static int hf_response_code; static int hf_logical_address; static int hf_logical_address_name; static int hf_gid; -static int hf_futher_action; +static int hf_further_action; static int hf_sync_status; @@ -712,7 +712,7 @@ add_vehicle_announcement_message_fields(proto_tree *doip_tree, tvbuff_t *tvb) doip_prototree_add_with_resolv(doip_tree, hf_logical_address, hf_logical_address_name, tvb, DOIP_VEHICLE_ANNOUNCEMENT_ADDRESS_OFFSET, DOIP_VEHICLE_ANNOUNCEMENT_ADDRESS_LEN, ENC_BIG_ENDIAN, NULL); proto_tree_add_item(doip_tree, hf_eid, tvb, DOIP_VEHICLE_ANNOUNCEMENT_EID_OFFSET, DOIP_COMMON_EID_LEN, ENC_NA); proto_tree_add_item(doip_tree, hf_gid, tvb, DOIP_VEHICLE_ANNOUNCEMENT_GID_OFFSET, DOIP_VEHICLE_ANNOUNCEMENT_GID_LEN, ENC_NA); - proto_tree_add_item(doip_tree, hf_futher_action, tvb, DOIP_VEHICLE_ANNOUNCEMENT_ACTION_OFFSET, DOIP_VEHICLE_ANNOUNCEMENT_ACTION_LEN, ENC_BIG_ENDIAN); + proto_tree_add_item(doip_tree, hf_further_action, tvb, DOIP_VEHICLE_ANNOUNCEMENT_ACTION_OFFSET, DOIP_VEHICLE_ANNOUNCEMENT_ACTION_LEN, ENC_BIG_ENDIAN); if ( tvb_bytes_exist(tvb, DOIP_VEHICLE_ANNOUNCEMENT_SYNC_OFFSET, DOIP_VEHICLE_ANNOUNCEMENT_SYNC_LEN) ) { /* Not part of version 1 and optional in version 2. */ @@ -1031,9 +1031,9 @@ proto_register_doip(void) } }, { - &hf_futher_action, + &hf_further_action, { - "Further action required", "doip.futher_action", + "Further action required", "doip.further_action", FT_UINT8, BASE_HEX, VALS(action_codes), 0x00, NULL, HFILL diff --git a/epan/dissectors/packet-gsm_abis_oml.c b/epan/dissectors/packet-gsm_abis_oml.c index f72fb48c77..ec13198597 100644 --- a/epan/dissectors/packet-gsm_abis_oml.c +++ b/epan/dissectors/packet-gsm_abis_oml.c @@ -761,7 +761,7 @@ enum { OML_DIALECT_ERICSSON }; -/* which A-bis OML dialect to use (prefrence) */ +/* which A-bis OML dialect to use (preference) */ static gint global_oml_dialect = OML_DIALECT_ETSI; static proto_tree *top_tree; diff --git a/epan/dissectors/packet-gsm_bsslap.c b/epan/dissectors/packet-gsm_bsslap.c index b5a359cf47..6dfa07fb25 100644 --- a/epan/dissectors/packet-gsm_bsslap.c +++ b/epan/dissectors/packet-gsm_bsslap.c @@ -45,7 +45,7 @@ static int ett_bsslap_cell_list; static expert_field ei_gsm_bsslap_missing_mandatory_element; static expert_field ei_gsm_bsslap_not_decoded_yet; -/* Table 5.1: Element Indentifier codes */ +/* Table 5.1: Element Identifier codes */ #define BSSLAP_PARAM_TIMING_ADVANCE 0x01 #define BSSLAP_PARAM_RESERVED_01 0x08 #define BSSLAP_PARAM_CELL_IDENTITY 0x09 @@ -311,7 +311,7 @@ de_cell_id_list(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, guint32 off } curr_offset += consumed; len-=consumed; - /* lengt is "cell id" + discriminator */ + /* length is "cell id" + discriminator */ proto_item_set_len(item, consumed+1); } @@ -730,7 +730,7 @@ dissect_gsm_bsslap_u_tdoa_req(tvbuff_t *tvb, proto_tree *tree, packet_info *pinf /* Delta Timer IE 5.22 O (note 1) TV 2 */ ELEM_OPT_TV(BSSLAP_PARAM_DELTA_TIMER, GSM_A_PDU_TYPE_BSSLAP, DE_BLAP_DELTA_TIME, NULL); - /* Polling Repitition IE 5.28 (note) C (note 2) TV 2 */ + /* Polling Repetition IE 5.28 (note) C (note 2) TV 2 */ ELEM_OPT_TV(BSSLAP_PARAM_POLLING_REPETITION, GSM_A_PDU_TYPE_BSSLAP, DE_BLAP_POLL_REP, NULL); return; diff --git a/epan/dissectors/packet-gsm_cbsp.c b/epan/dissectors/packet-gsm_cbsp.c index f22eae204d..78487b78d3 100644 --- a/epan/dissectors/packet-gsm_cbsp.c +++ b/epan/dissectors/packet-gsm_cbsp.c @@ -121,7 +121,7 @@ enum cbsp_category { CBSP_CATEG_NORMAL = 0x02, }; -/* 8.2.9 Number of Brodacast Info */ +/* 8.2.9 Number of Broadcast Info */ enum cbsp_num_bcast_info { CBSP_NUM_BCAST_INFO_VALID = 0x0, CBSP_NUM_BCAST_INFO_OVERFLOW = 0x1, diff --git a/epan/dissectors/packet-h265.c b/epan/dissectors/packet-h265.c index c01b2e7a59..a5f3408c9c 100644 --- a/epan/dissectors/packet-h265.c +++ b/epan/dissectors/packet-h265.c @@ -1937,7 +1937,7 @@ dissect_h265_profile_tier_level(proto_tree* tree, tvbuff_t* tvb, packet_info* pi /* 7.3.6 Slice segment header syntax */ /* Just parse a few bits same as in H.264 */ -/* TODO: if need more info from slice hedaer , do more parsing */ +/* TODO: if need more info from slice header, do more parsing */ static int dissect_h265_slice_segment_header(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo _U_, gint bit_offset, guint8 nal_unit_type) { diff --git a/epan/dissectors/packet-hdfsdata.c b/epan/dissectors/packet-hdfsdata.c index 1c55350a7a..ad697f172b 100644 --- a/epan/dissectors/packet-hdfsdata.c +++ b/epan/dissectors/packet-hdfsdata.c @@ -145,7 +145,7 @@ dissect_variable_length_long (tvbuff_t *tvb, proto_tree *hdfsdata_tree, int* off static void dissect_variable_int_string(tvbuff_t *tvb, proto_tree *hdfsdata_tree, int *offset) { - /* Get the variable length int that represents the length of the next feild */ + /* Get the variable length int that represents the length of the next field */ int len = dissect_variable_length_long (tvb, hdfsdata_tree, offset); /* client id = amount of bytes in previous */ @@ -298,7 +298,7 @@ dissect_write_request_end(tvbuff_t *tvb, proto_tree *hdfsdata_tree, int *offset) proto_tree_add_item(hdfsdata_tree, hf_hdfsdata_currentpipeline, tvb, *offset, 4, ENC_BIG_ENDIAN); *offset += 4; - /* varible length sequence of node objects */ + /* variable length sequence of node objects */ for (i = 0; i < len; i++) { proto_tree_add_item(hdfsdata_tree, hf_hdfsdata_node, tvb, *offset, 4, ENC_BIG_ENDIAN); *offset += 4; @@ -511,7 +511,7 @@ dissect_hdfsdata(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data return tvb_captured_length(tvb); } -/* registers the protcol with the given names */ +/* registers the protocol with the given names */ void proto_register_hdfsdata(void) { @@ -583,7 +583,7 @@ proto_register_hdfsdata(void) NULL, HFILL } }, { &hf_hdfsdata_currentpipeline, - { "HDFSDATA current number of nodes in the pipeline", "hdfsdata.currentpipline", + { "HDFSDATA current number of nodes in the pipeline", "hdfsdata.currentpipeline", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } diff --git a/epan/dissectors/packet-hislip.c b/epan/dissectors/packet-hislip.c index f6e693b169..47caa02215 100644 --- a/epan/dissectors/packet-hislip.c +++ b/epan/dissectors/packet-hislip.c @@ -789,7 +789,7 @@ dissect_hislip_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void proto_item_set_generated(it); } - /*Retransmisson*/ + /*Retransmission*/ if((frame_number = search_for_retransmission(hislip_info->pdus, &hislip_data , pinfo->num))!=0) { it = proto_tree_add_uint( hislip_tree, hf_hislip_retransmission, tvb, 0, 0, frame_number); diff --git a/epan/dissectors/packet-lisp-tcp.c b/epan/dissectors/packet-lisp-tcp.c index a181405d62..8087e879de 100644 --- a/epan/dissectors/packet-lisp-tcp.c +++ b/epan/dissectors/packet-lisp-tcp.c @@ -529,7 +529,7 @@ get_lisp_tcp_message_len(packet_info *pinfo _U_, tvbuff_t *tvb, { guint16 mlen; - /* Get length of memebership message */ + /* Get length of membership message */ mlen = tvb_get_ntohs(tvb, offset + 2); return mlen; diff --git a/epan/dissectors/packet-mgcp.c b/epan/dissectors/packet-mgcp.c index f18f9848b4..59c1e1d25f 100644 --- a/epan/dissectors/packet-mgcp.c +++ b/epan/dissectors/packet-mgcp.c @@ -2267,7 +2267,7 @@ static gint tvb_find_dot_line(tvbuff_t* tvb, gint offset, gint len, gint* next_o /* Are the characters that follow the dot a newline or carriage return ? */ if (tempchar == '\r' || tempchar == '\n') { - /* Do we have any charaters that proceed the . ? */ + /* Do we have any characters that proceed the . ? */ if (tvb_current_offset == 0) { break; diff --git a/epan/dissectors/packet-mojito.c b/epan/dissectors/packet-mojito.c index c7aaf6fce5..c7776691b4 100644 --- a/epan/dissectors/packet-mojito.c +++ b/epan/dissectors/packet-mojito.c @@ -464,7 +464,7 @@ dissect_mojito_store_response(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree if (tvb_reported_length_remaining(tvb, offset+3) > 0) { - /* Must be a secondard KUID */ + /* Must be a secondary KUID */ proto_tree_add_item(sc_tree, hf_mojito_storestatuscode_secondary_kuid, tvb, offset, 20, ENC_NA); offset += 20; } diff --git a/epan/dissectors/packet-mq.c b/epan/dissectors/packet-mq.c index 07a25f073f..ee39e7819a 100644 --- a/epan/dissectors/packet-mq.c +++ b/epan/dissectors/packet-mq.c @@ -3620,7 +3620,7 @@ static int reassemble_mq(tvbuff_t* tvb, packet_info* pinfo, proto_tree* tree, vo if (mq_parm.mq_strucID == MQ_STRUCTID_TSHM || mq_parm.mq_strucID == MQ_STRUCTID_TSHM_EBCDIC) iMulS = 8; - /* Get the Semgnet Length */ + /* Get the Segment Length */ iSegL = tvb_get_ntohl(tvb, 4); if (iMulS == 8) { diff --git a/epan/dissectors/packet-nas_eps.c b/epan/dissectors/packet-nas_eps.c index e8de9aeffa..32e76c3e7c 100644 --- a/epan/dissectors/packet-nas_eps.c +++ b/epan/dissectors/packet-nas_eps.c @@ -6628,7 +6628,7 @@ static void (*nas_msg_emm_fcn[])(tvbuff_t *tvb, proto_tree *tree, packet_info *p nas_emm_trac_area_upd_rej, /* Tracking area update reject */ nas_emm_ext_serv_req, /* Extended service request */ - nas_emm_ctrl_plane_serv_req,/* Control plane servire request */ + nas_emm_ctrl_plane_serv_req,/* Control plane service request */ nas_emm_serv_rej, /* Service reject */ nas_emm_serv_accept, /* Service accept */ diff --git a/epan/dissectors/packet-oampdu.c b/epan/dissectors/packet-oampdu.c index 2c566c13e1..bba2a86578 100644 --- a/epan/dissectors/packet-oampdu.c +++ b/epan/dissectors/packet-oampdu.c @@ -655,7 +655,7 @@ static const value_string dpoe_evt_code_vals[] = { #define DPOE_OBJ_CTX_MCAST_LOGICAL_LINK 0x0006 #define DPOE_OBJ_CTX_RESERVED 0x0007 -/* As messages get implmented and verified, replace with defined codes from above. */ +/* As messages get implemented and verified, replace with defined codes from above. */ static const value_string dpoe_variable_descriptor_vals[] = { { DPOE_LB_ONU_OBJ, "DPoE ONU Object" }, { DPOE_LB_NETWORK_PORT_OBJ, "Network Port Object" }, diff --git a/epan/dissectors/packet-pfcp.c b/epan/dissectors/packet-pfcp.c index 0134af2c60..1179589128 100644 --- a/epan/dissectors/packet-pfcp.c +++ b/epan/dissectors/packet-pfcp.c @@ -7057,7 +7057,7 @@ dissect_pfcp_number_of_reports(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree { guint value; - /* Number of Reports, an Unigned16 binary integer value excluding the first value "0". */ + /* Number of Reports, an Unsigned16 binary integer value excluding the first value "0". */ proto_tree_add_item_ret_uint(tree, hf_pfcp_number_of_reports, tvb, 0, length, ENC_BIG_ENDIAN, &value); proto_item_append_text(item, "%u", value); } @@ -8951,7 +8951,7 @@ dissect_pfcp_multicast_transport_information(tvbuff_t *tvb, packet_info *pinfo, proto_tree_add_item(tree, hf_pfcp_spare_oct, tvb, offset, 1, ENC_BIG_ENDIAN); offset++; - /* Oct 6 to 9 Common Tunnel Endpoint Identifer */ + /* Oct 6 to 9 Common Tunnel Endpoint Identifier */ proto_tree_add_item(tree, hf_pfcp_multicast_transport_information_endpoint_identifier, tvb, offset, 4, ENC_BIG_ENDIAN); offset+=4; @@ -10343,7 +10343,7 @@ static const pfcp_ie_t pfcp_ies[] = { /* 270 */ { dissect_pfcp_grouped_ie }, /* Redundant Transmission Forward Parameters Variable Length / Clause 8.2.184 */ /* 271 */ { dissect_pfcp_grouped_ie }, /* Transport Delay Reporting IE in Create PDR IE Extendable / Table 7.5.2.2-6 */ /* 272 */ { dissect_pfcp_grouped_ie }, /* Partial Failure Information within PFCP Session Establishment Response Extendable / Table 7.5.3.1-2 */ -/* 273 */ { dissect_pfcp_grouped_ie }, /* Partial Failure Information within PFCP Session Modificaton Response Extendable / Table 7.5.5.1-2 */ +/* 273 */ { dissect_pfcp_grouped_ie }, /* Partial Failure Information within PFCP Session Modification Response Extendable / Table 7.5.5.1-2 */ /* 274 */ { dissect_pfcp_offending_ie_information }, /* Offending IE Information Variable Length / Clause 8.2.185 */ /* 275 */ { dissect_pfcp_rattype }, /* RAT Type Variable Length / Clause 8.2.186 */ /* 276 */ { dissect_pfcp_grouped_ie }, /* L2TP Tunnel Information Extendable / Table 7.5.2.1-2 */ @@ -10384,7 +10384,7 @@ static const pfcp_ie_t pfcp_ies[] = { /* 311 */ { dissect_pfcp_grouped_ie }, /* MBS Session N4 Control Information IE within PFCP Session Establishment Response Extendable / Table 7.5.3.1-5 */ /* 312 */ { dissect_pfcp_mbsn4resp_flags }, /* MBSN4Resp-Flags Extendable / Clause 8.2.211 */ /* 313 */ { dissect_pfcp_tunnel_password }, /* Tunnel Password Variable Length / Clause 8.2.212 */ -/* 314 */ { dissect_pfcp_area_session_id }, /* Area Sesson ID Fixed / Clause 8.2.213 */ +/* 314 */ { dissect_pfcp_area_session_id }, /* Area Session ID Fixed / Clause 8.2.213 */ /* 315 */ { dissect_pfcp_grouped_ie }, /* Peer UP Restart Report IE within PFCP Node Report Request Extendable / Table 7.4.5.1-7 */ /* 316 */ { dissect_pfcp_grouped_ie }, /* DSCP to PPI Control Information IE within PFCP Session Establishment Request Extendable / Table 7.5.2.1-6 */ /* 317 */ { dissect_pfcp_dscp_to_ppi_mapping_information }, /* DSCP to PPI Mapping Information Extendable / Clause 8.2.214 */ diff --git a/epan/dissectors/packet-ppi.c b/epan/dissectors/packet-ppi.c index 958a8de1b8..32610d27bd 100644 --- a/epan/dissectors/packet-ppi.c +++ b/epan/dissectors/packet-ppi.c @@ -164,7 +164,7 @@ typedef enum { /* 30000 - 65535: Private types */ INTEL_CORP_PRIVATE = 30000, MOHAMED_THAGA_PRIVATE = 30001, - PPI_GPS_INFO = 30002, /* 30002 - 30005 described in PPI-GEOLOCATION specifcation */ + PPI_GPS_INFO = 30002, /* 30002 - 30005 described in PPI-GEOLOCATION specification */ PPI_VECTOR_INFO = 30003, /* currently available in draft from. jellch@harris.com */ PPI_SENSOR_INFO = 30004, PPI_ANTENNA_INFO = 30005, @@ -920,7 +920,7 @@ dissect_ppi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) } else /* we found a suitable dissector */ { - /* skip over the ppi_fieldheader, and pass it off to the dedicated GPS dissetor */ + /* skip over the ppi_fieldheader, and pass it off to the dedicated GPS dissector */ next_tvb = tvb_new_subset_length_caplen(tvb, offset + 4, data_len - 4 , -1); call_dissector(ppi_gps_handle, next_tvb, pinfo, ppi_tree); } @@ -933,7 +933,7 @@ dissect_ppi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) } else /* we found a suitable dissector */ { - /* skip over the ppi_fieldheader, and pass it off to the dedicated VECTOR dissetor */ + /* skip over the ppi_fieldheader, and pass it off to the dedicated VECTOR dissector */ next_tvb = tvb_new_subset_length_caplen(tvb, offset + 4, data_len - 4 , -1); call_dissector(ppi_vector_handle, next_tvb, pinfo, ppi_tree); } @@ -946,7 +946,7 @@ dissect_ppi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) } else /* we found a suitable dissector */ { - /* skip over the ppi_fieldheader, and pass it off to the dedicated SENSOR dissetor */ + /* skip over the ppi_fieldheader, and pass it off to the dedicated SENSOR dissector */ next_tvb = tvb_new_subset_length_caplen(tvb, offset + 4, data_len - 4 , -1); call_dissector(ppi_sensor_handle, next_tvb, pinfo, ppi_tree); } @@ -959,7 +959,7 @@ dissect_ppi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) } else /* we found a suitable dissector */ { - /* skip over the ppi_fieldheader, and pass it off to the dedicated ANTENNA dissetor */ + /* skip over the ppi_fieldheader, and pass it off to the dedicated ANTENNA dissector */ next_tvb = tvb_new_subset_length_caplen(tvb, offset + 4, data_len - 4 , -1); call_dissector(ppi_antenna_handle, next_tvb, pinfo, ppi_tree); } @@ -972,7 +972,7 @@ dissect_ppi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) } else /* we found a suitable dissector */ { - /* skip over the ppi_fieldheader, and pass it off to the dedicated FNET dissetor */ + /* skip over the ppi_fieldheader, and pass it off to the dedicated FNET dissector */ next_tvb = tvb_new_subset_length_caplen(tvb, offset + 4, data_len - 4 , -1); call_dissector(ppi_fnet_handle, next_tvb, pinfo, ppi_tree); } @@ -1480,7 +1480,7 @@ proto_register_ppi(void) { "Capture information", "ppi.cap-info", FT_BYTES, BASE_NONE, NULL, 0x0, "PPI Capture information", HFILL } }, - /* Aggregtion Extension */ + /* Aggregation Extension */ { &hf_aggregation_extension_interface_id, { "Interface ID", "ppi.aggregation_extension.interface_id", FT_UINT32, BASE_DEC, NULL, 0x0, "Zero-based index of the physical interface the packet was captured from", HFILL } }, diff --git a/epan/dissectors/packet-rmt-lct.c b/epan/dissectors/packet-rmt-lct.c index 41dec6d01b..ca1805465c 100644 --- a/epan/dissectors/packet-rmt-lct.c +++ b/epan/dissectors/packet-rmt-lct.c @@ -185,7 +185,7 @@ int lct_ext_decode(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, guint of proto_tree *hec_tree, *ext_tree; double cc_loss; - /* Figure out the extention count */ + /* Figure out the extension count */ while (tmp_offset < offset_max) { het = tvb_get_guint8(tvb, tmp_offset); diff --git a/epan/dissectors/packet-rpc.c b/epan/dissectors/packet-rpc.c index e79abe1961..c559e90231 100644 --- a/epan/dissectors/packet-rpc.c +++ b/epan/dissectors/packet-rpc.c @@ -3025,7 +3025,7 @@ dissect_rpc_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, tvb_new_subset_remaining(tvb, offset), pinfo, ptree); } - /* XXX this should really loop over all fhandles registred for the frame */ + /* XXX this should really loop over all fhandles registered for the frame */ if(nfs_fhandle_reqrep_matching){ switch (msg_type) { case RPC_CALL: diff --git a/epan/dissectors/packet-rtpproxy.c b/epan/dissectors/packet-rtpproxy.c index b20dc6720f..5a1f3789b2 100644 --- a/epan/dissectors/packet-rtpproxy.c +++ b/epan/dissectors/packet-rtpproxy.c @@ -170,7 +170,7 @@ static const value_string paramtypenames[] = { {'W', "Weak connection (allows roaming)"}, {'z', "repacketiZe"}, {'Z', "repacketiZe"}, - /* Unofficial command parameters / expensions */ + /* Unofficial command parameters / extensions */ {'d', "DTMF payload ID (unofficial extension)"}, {'D', "DTMF payload ID (unofficial extension)"}, {'m', "codec Mapping (unofficial extension)"}, diff --git a/epan/dissectors/packet-rtps-processed.c b/epan/dissectors/packet-rtps-processed.c index e3040e5950..6f5d76d921 100644 --- a/epan/dissectors/packet-rtps-processed.c +++ b/epan/dissectors/packet-rtps-processed.c @@ -391,7 +391,7 @@ static void get_new_colinfo_w_submessages( } /* ========================================================================== */ -/* Protocol egistration */ +/* Protocol registration */ /* ========================================================================== */ void proto_register_rtps_processed(void) diff --git a/epan/dissectors/packet-s101.c b/epan/dissectors/packet-s101.c index 494c9dfbd3..d47b196df1 100644 --- a/epan/dissectors/packet-s101.c +++ b/epan/dissectors/packet-s101.c @@ -254,7 +254,7 @@ find_s101_packet_header(tvbuff_t *tvb, int* offset, guint8 *start, guint8 *slot, } } else if (*start != S101_BOF) { - // IF NOT Begining of Frame - variant 1 - escaped data + // IF NOT Beginning of Frame - variant 1 - escaped data return 0; } else { @@ -558,7 +558,7 @@ proto_register_S101(void) NULL, HFILL }}, { &hf_S101_eof, - { "End of Frane", "s101.eof", + { "End of Frame", "s101.eof", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, { &hf_S101_error, { diff --git a/epan/dissectors/packet-s5066sis.c b/epan/dissectors/packet-s5066sis.c index f9853ea40a..12e5c2133b 100644 --- a/epan/dissectors/packet-s5066sis.c +++ b/epan/dissectors/packet-s5066sis.c @@ -33,7 +33,7 @@ void proto_reg_handoff_s5066(void); static int dissect_s5066_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data); static guint get_s5066_pdu_len(packet_info *pinfo, tvbuff_t *tvb, int offset, void *data); static int dissect_s5066_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_); -/* Client transport layer header dissctor */ +/* Client transport layer header dissector */ static guint dissect_s5066_client_transport_header(tvbuff_t *tvb, guint offset, proto_tree *tree, guint8 sapid, guint *client_app_id); /* Service type and address dissectors */ static guint dissect_s5066_servicetype(tvbuff_t *tvb, guint offset, proto_tree *tree); diff --git a/epan/dissectors/packet-sapenqueue.c b/epan/dissectors/packet-sapenqueue.c index 76199c7771..a15720c03c 100644 --- a/epan/dissectors/packet-sapenqueue.c +++ b/epan/dissectors/packet-sapenqueue.c @@ -40,7 +40,7 @@ static const value_string sapenqueue_dest_vals[] = { { 2, "ASYNC_ENQUEUE" }, { 3, "SERVER_ADMIN" }, { 5, "STAT_QUERY" }, - { 6, "CONECTION_ADMIN" }, + { 6, "CONNECTION_ADMIN" }, { 7, "ENQ_TO_REP" }, { 8, "REP_TO_ENQ" }, /* NULL */ diff --git a/epan/dissectors/packet-saprouter.c b/epan/dissectors/packet-saprouter.c index a976ca048b..0f3a2c8580 100644 --- a/epan/dissectors/packet-saprouter.c +++ b/epan/dissectors/packet-saprouter.c @@ -706,7 +706,7 @@ dissect_saprouter(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *dat } } - /* Uknown Message Type */ + /* Unknown Message Type */ } else { col_add_fstr(pinfo->cinfo, COL_INFO, "Routed message"); diff --git a/epan/dissectors/packet-sgsap.c b/epan/dissectors/packet-sgsap.c index 2f32f8d2b1..2a1d0813ab 100644 --- a/epan/dissectors/packet-sgsap.c +++ b/epan/dissectors/packet-sgsap.c @@ -134,7 +134,7 @@ de_sgsap_err_msg(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, guint32 of * Octet 3 - Octet n * Erroneous message including the message type. */ - /* Messge type IE*/ + /* Message type IE*/ oct = tvb_get_guint8(tvb, offset); msg_fcn_p = NULL; ett_tree = -1; @@ -1525,7 +1525,7 @@ dissect_sgsap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U item = proto_tree_add_item(tree, proto_sgsap, tvb, 0, -1, ENC_NA); sgsap_tree = proto_item_add_subtree(item, ett_sgsap); - /* Messge type IE*/ + /* Message type IE*/ oct = tvb_get_guint8(tvb, offset); msg_fcn_p = NULL; ett_tree = -1; diff --git a/epan/dissectors/packet-sstp.c b/epan/dissectors/packet-sstp.c index d033da19b3..3c1e27a89e 100644 --- a/epan/dissectors/packet-sstp.c +++ b/epan/dissectors/packet-sstp.c @@ -35,7 +35,7 @@ void proto_reg_handoff_sstp(void); #define SSTP_CERT_HASH_PROTOCOL_SHA256 0x02 #define SSTP_ENCAPSULATED_PPP 0x0001 -/* bytewise offsets inside the paket buffer */ +/* bytewise offsets inside the packet buffer */ #define SSTP_OFFSET_ATTRIBUTES 8 #define SSTP_OFFSET_DATA 4 #define SSTP_OFFSET_RESERVED 1 diff --git a/epan/dissectors/packet-tipc.c b/epan/dissectors/packet-tipc.c index d597110f31..257bbc424f 100644 --- a/epan/dissectors/packet-tipc.c +++ b/epan/dissectors/packet-tipc.c @@ -1096,7 +1096,7 @@ dissect_tipc_v2_internal_msg(tvbuff_t *tipc_tvb, proto_tree *tipc_tree, packet_i if ((message_type == TIPCv2_RESET_MSG) || ((message_type == TIPCv2_STATE_MSG) && ((msg_size-(orig_hdr_size*4)) != 0))){ /* is allowed */ proto_tree_add_item(tipc_tree, hf_tipcv2_bearer_instance, tipc_tvb, offset, -1, ENC_ASCII); - /* the bearer instance string is padded with \0 to the next word boundry */ + /* the bearer instance string is padded with \0 to the next word boundary */ b_inst_strlen = tvb_strsize(tipc_tvb, offset); offset += b_inst_strlen; if ((padlen = (4-b_inst_strlen%4)) > 0) { diff --git a/epan/dissectors/packet-tls.c b/epan/dissectors/packet-tls.c index 656ff3b801..a27f485932 100644 --- a/epan/dissectors/packet-tls.c +++ b/epan/dissectors/packet-tls.c @@ -2574,9 +2574,9 @@ dissect_tls_handshake(tvbuff_t *tvb, packet_info *pinfo, const guint16 version) { // Handshake fragment processing: - // 1. (First pass:) If a previous handshake message needed reasembly, add + // 1. (First pass:) If a previous handshake message needed reassembly, add // (a subset of) the new data for reassembly. - // 2. Did this fragment complete reasembly in the previous step? + // 2. Did this fragment complete reassembly in the previous step? // - Yes: dissect message and continue. // - No: show details and stop. // 3. Not part of a reassembly, so this is a new handshake message. Does it @@ -2596,7 +2596,7 @@ dissect_tls_handshake(tvbuff_t *tvb, packet_info *pinfo, guint *hs_reassembly_id_p = is_from_server ? &session->server_hs_reassembly_id : &session->client_hs_reassembly_id; if (!PINFO_FD_VISITED(pinfo)) { - // 1. (First pass:) If a previous handshake message needed reasembly. + // 1. (First pass:) If a previous handshake message needed reassembly. if (*hs_reassembly_id_p) { // Continuation, so a previous fragment *must* exist. fh = fragment_get(&tls_hs_reassembly_table, pinfo, *hs_reassembly_id_p, NULL); @@ -2660,7 +2660,7 @@ dissect_tls_handshake(tvbuff_t *tvb, packet_info *pinfo, } } - // 2. Did this fragment complete reasembly in the previous step? + // 2. Did this fragment complete reassembly in the previous step? if (frag_info && frag_info->offset != 0) { fh = fragment_get_reassembled_id(&tls_hs_reassembly_table, pinfo, frag_info->reassembly_id); if (frag_info->is_last) { diff --git a/epan/dissectors/packet-usb-hid.c b/epan/dissectors/packet-usb-hid.c index 56862944c1..eeacbd6166 100644 --- a/epan/dissectors/packet-usb-hid.c +++ b/epan/dissectors/packet-usb-hid.c @@ -225,7 +225,7 @@ static wmem_tree_t *report_descriptors = NULL; #define HID_MAIN_NON_LINEAR (1 << 4) /* linear / non linear */ #define HID_MAIN_NO_PREFERRED (1 << 5) /* preferred state / no preferred */ #define HID_MAIN_NULL_STATE (1 << 6) /* no null position / null state */ -#define HID_MAIN_BUFFERED_BYTES (1 << 8) /* bit field / buferred bytes */ +#define HID_MAIN_BUFFERED_BYTES (1 << 8) /* bit field / buffered bytes */ #define HID_MAIN_ARRAY (0 << 1) diff --git a/epan/dissectors/packet-vp9.c b/epan/dissectors/packet-vp9.c index 710a93d3b9..9193575cfc 100644 --- a/epan/dissectors/packet-vp9.c +++ b/epan/dissectors/packet-vp9.c @@ -142,7 +142,7 @@ dissect_vp9(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree _U_, void *data } else { - // Malformated packet + // Malformed packet } } else @@ -165,7 +165,7 @@ dissect_vp9(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree _U_, void *data } else { - // Malformated packet + // Malformed packet } } @@ -217,7 +217,7 @@ dissect_vp9(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree _U_, void *data idx++; if (n && idx == max_p_diff) { - // Malformated packet + // Malformed packet } } } diff --git a/epan/dissectors/packet-wassp.c b/epan/dissectors/packet-wassp.c index f4869f7264..3e524a0e35 100644 --- a/epan/dissectors/packet-wassp.c +++ b/epan/dissectors/packet-wassp.c @@ -3743,7 +3743,7 @@ typedef struct #define UPGRADE_ACTION_REPORT (0) /* report current status */ #define UPGRADE_ACTION_NO_CHANGE (1) /* no upgrade is required */ #define UPGRADE_ACTION_LEGACY (2) /* legacy upgrade, stop service and upgrade*/ -#define UPGRADE_ACTION_BACKGROUND (3) /* background download, keep serivece then upgrade */ +#define UPGRADE_ACTION_BACKGROUND (3) /* background download, keep service then upgrade */ #define UPGRADE_ACTION_SAVE_BACKUP (4) /* download image, overwrite backup image*/ #define UPGRADE_ACTION_SWITCH_VERSION (5) /* switch to a previously downloaded image */ #define UPGRADE_ACTION_ABORT (6) /* abort current download operation */ diff --git a/epan/dissectors/packet-xml.c b/epan/dissectors/packet-xml.c index d8db3c1900..4553d9927a 100644 --- a/epan/dissectors/packet-xml.c +++ b/epan/dissectors/packet-xml.c @@ -1273,7 +1273,7 @@ static void register_dtd(dtd_build_data_t *dtd_data, GString *errors) root_name = wmem_strdup(wmem_epan_scope(), dtd_data->proto_root); } - /* we use a stack with the names to avoid recurring infinitelly */ + /* we use a stack with the names to avoid recurring infinitely */ hier = g_ptr_array_new(); /* diff --git a/epan/dissectors/packet-zbee-direct.c b/epan/dissectors/packet-zbee-direct.c index 20d72fdbd5..c763b33a85 100644 --- a/epan/dissectors/packet-zbee-direct.c +++ b/epan/dissectors/packet-zbee-direct.c @@ -86,7 +86,7 @@ static int hf_zb_direct_char_tunneling; /* Expert items */ static expert_field ei_zb_direct_crypt_error; -/* Trees entitties */ +/* Trees entities */ static gint ett_zb_direct; static const guint8 serv_secur_uuid[] = { 0xe3, 0x29, 0xb4, 0x99, 0x02, 0x6d, 0xe9, 0xbf, @@ -1876,7 +1876,7 @@ void proto_reg_handoff_zb_direct(void) { { "29144af4-00ff-4481-bfe9-6d0299b429e3", dissect_zb_direct_dump_info }, - /* 6.5.1. Zigbee Direct Security Service characterisitc */ + /* 6.5.1. Zigbee Direct Security Service characteristic */ { "29144af4-0001-4481-bfe9-6d0299b429e3", dissect_zb_direct_secur_c25519_aesmmo }, { "29144af4-0002-4481-bfe9-6d0299b429e3", dissect_zb_direct_secur_c25519_sha256 }, { "29144af4-0003-4481-bfe9-6d0299b429e3", dissect_zb_direct_secur_p256 }, diff --git a/epan/dissectors/packet-zbee-zcl-general.c b/epan/dissectors/packet-zbee-zcl-general.c index 91be6c9821..54512318b5 100644 --- a/epan/dissectors/packet-zbee-zcl-general.c +++ b/epan/dissectors/packet-zbee-zcl-general.c @@ -60,7 +60,7 @@ #define ZBEE_ZCL_BASIC_PWR_SRC_BATTERY 0x03 /* Battery */ #define ZBEE_ZCL_BASIC_PWR_SRC_DC_SRC 0x04 /* DC source */ #define ZBEE_ZCL_BASIC_PWR_SRC_EMERGENCY_1 0x05 /* Emergency mains constantly powered */ -#define ZBEE_ZCL_BASIC_PWR_SRC_EMERGENCY_2 0x06 /* Emergency mains and tranfer switch */ +#define ZBEE_ZCL_BASIC_PWR_SRC_EMERGENCY_2 0x06 /* Emergency mains and transfer switch */ /* Device Enable Values */ #define ZBEE_ZCL_BASIC_DISABLED 0x00 /* Disabled */ @@ -418,7 +418,7 @@ proto_reg_handoff_zbee_zcl_basic(void) /* Attributes */ #define ZBEE_ZCL_ATTR_ID_POWER_CONF_MAINS_VOLTAGE 0x0000 /* Mains voltage */ -#define ZBEE_ZCL_ATTR_ID_POWER_CONF_MAINS_FREQUENCY 0x0001 /* Mains frerquency */ +#define ZBEE_ZCL_ATTR_ID_POWER_CONF_MAINS_FREQUENCY 0x0001 /* Mains frequency */ #define ZBEE_ZCL_ATTR_ID_POWER_CONF_MAINS_ALARM_MASK 0x0010 /* Mains Alarm Mask */ #define ZBEE_ZCL_ATTR_ID_POWER_CONF_MAINS_VOLTAGE_MIN_THR 0x0011 /* Mains Voltage Min Threshold */ #define ZBEE_ZCL_ATTR_ID_POWER_CONF_MAINS_VOLTAGE_MAX_THR 0x0012 /* Mains Voltage Max Threshold */ @@ -9770,7 +9770,7 @@ void proto_reg_handoff_zbee_zcl_part(void) #define ZBEE_ZCL_OTA_TIME_NOW 0x00000000 /* Now */ #define ZBEE_ZCL_OTA_TIME_UTC_LO 0x00000001 /* UTC Low Boundary */ #define ZBEE_ZCL_OTA_TIME_UTC_HI 0xfffffffe /* UTC High Boundary */ -#define ZBEE_ZCL_OTA_TIME_WAIT 0xffffffff /* Wait for a Upgrade command (not used for RequesTime) */ +#define ZBEE_ZCL_OTA_TIME_WAIT 0xffffffff /* Wait for a Upgrade command (not used for RequestTime) */ /*************************/ /* Function Declarations */ diff --git a/epan/dissectors/packet-zbncp.c b/epan/dissectors/packet-zbncp.c index 7ad674f639..f038d62e7f 100644 --- a/epan/dissectors/packet-zbncp.c +++ b/epan/dissectors/packet-zbncp.c @@ -4636,7 +4636,7 @@ dissect_zbncp_ll_hdr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint proto_tree_add_item(ncp_ll_hdr_tree, hf_zbncp_hdr_sign, tvb, offset, 2, ENC_ASCII); offset += 2; - /* pkt lenght without sign */ + /* pkt length without sign */ proto_tree_add_item(ncp_ll_hdr_tree, hf_zbncp_packet_len, tvb, offset, 2, ENC_LITTLE_ENDIAN); offset += 2; |