diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2016-02-03 23:02:08 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2016-02-03 23:21:17 +0000 |
commit | ad458027a7f938107510678bebd3b35329d02917 (patch) | |
tree | 639c55ebfabe678cb7074a7257d2da3d101bd375 | |
parent | 7935816b283bdd003ce8338ca594d4cbd151bd94 (diff) |
Sync ASN.1 templates and generated code (spelling fixes)
Change-Id: Ib6ed980ecf5d5418349946c8da26f81fe1c02dd1
Reviewed-on: https://code.wireshark.org/review/13701
Reviewed-by: João Valverde <j@v6e.pt>
-rw-r--r-- | asn1/h450-ros/packet-h450-ros-template.c | 2 | ||||
-rw-r--r-- | asn1/mpeg-pes/packet-mpeg-pes-template.c | 2 | ||||
-rw-r--r-- | asn1/q932-ros/packet-q932-ros-template.c | 2 | ||||
-rw-r--r-- | asn1/snmp/packet-snmp-template.c | 6 | ||||
-rw-r--r-- | epan/dissectors/packet-snmp.c | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/asn1/h450-ros/packet-h450-ros-template.c b/asn1/h450-ros/packet-h450-ros-template.c index fcc841bc27..3841694a49 100644 --- a/asn1/h450-ros/packet-h450-ros-template.c +++ b/asn1/h450-ros/packet-h450-ros-template.c @@ -52,7 +52,7 @@ static expert_field ei_ros_undecoded = EI_INIT; /* Subdissectors */ static dissector_handle_t data_handle = NULL; -/* Gloabl variables */ +/* Global variables */ static gint32 problem_val; static gchar problem_str[64]; static tvbuff_t *arg_next_tvb, *res_next_tvb, *err_next_tvb; diff --git a/asn1/mpeg-pes/packet-mpeg-pes-template.c b/asn1/mpeg-pes/packet-mpeg-pes-template.c index 5e2c0de679..a5f0defd2b 100644 --- a/asn1/mpeg-pes/packet-mpeg-pes-template.c +++ b/asn1/mpeg-pes/packet-mpeg-pes-template.c @@ -589,7 +589,7 @@ proto_register_mpeg_pes(void) FT_UINT8, BASE_HEX, VALS(mpeg_pes_TrickModeIntraSliceRefresh_vals), 0, "mpeg_pes trick mode intra slice refresh", HFILL }}, { &hf_mpeg_pes_dsm_trick_mode_frequency_truncation, - { "frequency truncation", "mpeg-pes.trick-mode-frequeny-truncation", + { "frequency truncation", "mpeg-pes.trick-mode-frequency-truncation", FT_UINT8, BASE_HEX, VALS(mpeg_pes_TrickModeFrequencyTruncation_vals), 0, "mpeg_pes trick mode frequency truncation", HFILL }}, { &hf_mpeg_pes_dsm_trick_mode_rep_cntrl, diff --git a/asn1/q932-ros/packet-q932-ros-template.c b/asn1/q932-ros/packet-q932-ros-template.c index 3e2de41f64..e7b905edc9 100644 --- a/asn1/q932-ros/packet-q932-ros-template.c +++ b/asn1/q932-ros/packet-q932-ros-template.c @@ -51,7 +51,7 @@ static expert_field ei_ros_undecoded = EI_INIT; /* Subdissectors */ static dissector_handle_t data_handle = NULL; -/* Gloabl variables */ +/* Global variables */ static rose_ctx_t *rose_ctx_tmp; static guint32 problem_val; diff --git a/asn1/snmp/packet-snmp-template.c b/asn1/snmp/packet-snmp-template.c index 17db95d1a1..f5a6b6eda8 100644 --- a/asn1/snmp/packet-snmp-template.c +++ b/asn1/snmp/packet-snmp-template.c @@ -146,7 +146,7 @@ static snmp_ue_assoc_t* localized_ues = NULL; static snmp_ue_assoc_t* unlocalized_ues = NULL; /****/ -/* Variabled used for handling enterprise spesific trap types */ +/* Variables used for handling enterprise specific trap types */ typedef struct _snmp_st_assoc_t { char *enterprise; guint trap; @@ -2055,7 +2055,7 @@ dissect_snmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_ /* * See if this looks like SNMP or not. if not, return 0 so - * wireshark can try som other dissector instead. + * wireshark can try some other dissector instead. */ /* All SNMP packets are BER encoded and consist of a SEQUENCE * that spans the entire PDU. The first item is an INTEGER that @@ -2070,7 +2070,7 @@ dissect_snmp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_ /* then comes a length which spans the rest of the tvb */ offset = get_ber_length(tvb, offset, &tmp_length, &tmp_ind); /* if(tmp_length!=(guint32)tvb_reported_length_remaining(tvb, offset)) { - * Losen the heuristic a bit to handle the case where data has intentionally + * Loosen the heuristic a bit to handle the case where data has intentionally * been added after the snmp PDU ( UDP case) */ if ( pinfo->ptype == PT_UDP ) { diff --git a/epan/dissectors/packet-snmp.c b/epan/dissectors/packet-snmp.c index dc09d5159b..14abaaa8f3 100644 --- a/epan/dissectors/packet-snmp.c +++ b/epan/dissectors/packet-snmp.c @@ -154,7 +154,7 @@ static snmp_ue_assoc_t* localized_ues = NULL; static snmp_ue_assoc_t* unlocalized_ues = NULL; /****/ -/* Variabled used for handling enterprise specific trap types */ +/* Variables used for handling enterprise specific trap types */ typedef struct _snmp_st_assoc_t { char *enterprise; guint trap; |