aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-atn-cpdlc.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-02-26 14:29:17 -0500
committerBill Meier <wmeier@newsguy.com>2014-02-26 19:38:21 +0000
commit1dff4e309d036e23c316f2cf9a6d05d5a4449ff2 (patch)
treea7ff0816c598def87e246a2ebbd2d80fa47365fc /epan/dissectors/packet-atn-cpdlc.c
parentb4850149dd877375c1d8da3a2d20bddca1d91780 (diff)
Remove trailing whitespace from asn1 .cnf & template.[hc] files. Regenerate dissectors.
Change-Id: I0e779b2ac2f608356649c5bbfca438141070dea4 Reviewed-on: https://code.wireshark.org/review/412 Reviewed-by: Bill Meier <wmeier@newsguy.com> Tested-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'epan/dissectors/packet-atn-cpdlc.c')
-rw-r--r--epan/dissectors/packet-atn-cpdlc.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/epan/dissectors/packet-atn-cpdlc.c b/epan/dissectors/packet-atn-cpdlc.c
index 2fe88be0b3..417ec2bb88 100644
--- a/epan/dissectors/packet-atn-cpdlc.c
+++ b/epan/dissectors/packet-atn-cpdlc.c
@@ -5321,7 +5321,7 @@ dissect_atn_cpdlc(
/* "protected mode" for this largely depends on */
/* upgraded avionics packages */
- /*note:*/
+ /*note:*/
/* The use of CPDLC is *optional* as the pilot */
/* may always use a voice radio channel to talk to the controller.*/
@@ -5333,7 +5333,7 @@ dissect_atn_cpdlc(
/* we need the ae qualifier stored within the conversation */
/* to decode "plain old cpdlc" or */
/* "protected mode cpdlc correctly " */
-
+
/* DT: dstref present, srcref is always zero */
if((pinfo->clnp_dstref) && (!pinfo->clnp_srcref)){
atn_cv = find_atn_conversation(
@@ -5358,7 +5358,7 @@ dissect_atn_cpdlc(
if(!atn_cv){ /* atn conversation not found */
return 0; }
-
+
ti = proto_tree_add_text(
tree,
tvb,
@@ -5369,7 +5369,7 @@ dissect_atn_cpdlc(
atn_cpdlc_tree = proto_item_add_subtree(
ti,
ett_atn_cpdlc);
-
+
switch(atn_cv->ae_qualifier){
case pmcpdlc:
if( check_heur_msg_type(pinfo) == um ) {
@@ -5402,7 +5402,7 @@ dissect_atn_cpdlc(
default:
break;
}
- return tvb_reported_length_remaining(tvb, 0);
+ return tvb_reported_length_remaining(tvb, 0);
}
static gboolean
@@ -5418,7 +5418,7 @@ dissect_atn_cpdlc_heur(
int type = no_msg;
type = check_heur_msg_type(pinfo);
-
+
switch(type){
case um:
TRY {
@@ -5451,7 +5451,7 @@ dissect_atn_cpdlc_heur(
is_pm = FALSE; }
ENDTRY;
TRY{
- dissect_AircraftPDUs_PDU(tvb, pinfo, NULL);
+ dissect_AircraftPDUs_PDU(tvb, pinfo, NULL);
is_atn_cpdlc = TRUE;
is_pm = FALSE;
break;}
@@ -5463,14 +5463,14 @@ dissect_atn_cpdlc_heur(
default:
break;
}
-
+
if(is_atn_cpdlc){
/* note: */
/* all subsequent PDU's belonging to this conversation */
/* are considered CPDLC */
/* if the first CPDLC PDU has been decoded succesfully */
/* (This is done in "atn-ulcs" by using "call_dissector_with_data()") */
-
+
/* DT: dstref present, srcref is always zero */
if((pinfo->clnp_dstref) && (!pinfo->clnp_srcref)){
atn_cv = find_atn_conversation(&pinfo->dst,
@@ -5496,11 +5496,11 @@ dissect_atn_cpdlc_heur(
else {
atn_cv->ae_qualifier = cpdlc; }
dissect_atn_cpdlc(tvb, pinfo, tree, NULL);
- }
+ }
}else { /* there should *always* be an atn conversation */
- is_atn_cpdlc = FALSE;
+ is_atn_cpdlc = FALSE;
}
-
+
return is_atn_cpdlc;
}
@@ -8070,7 +8070,7 @@ void proto_register_atn_cpdlc (void)
/*--- End of included file: packet-atn-cpdlc-ettarr.c ---*/
#line 320 "../../asn1/atn-cpdlc/packet-atn-cpdlc-template.c"
- &ett_atn_cpdlc
+ &ett_atn_cpdlc
};
/* register CPDLC */