summaryrefslogtreecommitdiff
path: root/asn1/atn-cpdlc
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 /asn1/atn-cpdlc
parentb4850149dd877375c1d8da3a2d20bddca1d91780 (diff)
downloadwireshark-1dff4e309d036e23c316f2cf9a6d05d5a4449ff2.tar.gz
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 'asn1/atn-cpdlc')
-rw-r--r--asn1/atn-cpdlc/packet-atn-cpdlc-template.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/asn1/atn-cpdlc/packet-atn-cpdlc-template.c b/asn1/atn-cpdlc/packet-atn-cpdlc-template.c
index 39b9d37da0..a48c42950f 100644
--- a/asn1/atn-cpdlc/packet-atn-cpdlc-template.c
+++ b/asn1/atn-cpdlc/packet-atn-cpdlc-template.c
@@ -124,7 +124,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.*/
@@ -136,7 +136,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(
@@ -161,7 +161,7 @@ dissect_atn_cpdlc(
if(!atn_cv){ /* atn conversation not found */
return 0; }
-
+
ti = proto_tree_add_text(
tree,
tvb,
@@ -172,7 +172,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 ) {
@@ -205,7 +205,7 @@ dissect_atn_cpdlc(
default:
break;
}
- return tvb_reported_length_remaining(tvb, 0);
+ return tvb_reported_length_remaining(tvb, 0);
}
static gboolean
@@ -221,7 +221,7 @@ dissect_atn_cpdlc_heur(
int type = no_msg;
type = check_heur_msg_type(pinfo);
-
+
switch(type){
case um:
TRY {
@@ -254,7 +254,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;}
@@ -266,14 +266,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,
@@ -299,11 +299,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;
}
@@ -316,8 +316,8 @@ void proto_register_atn_cpdlc (void)
};
static gint *ett[] = {
- #include "packet-atn-cpdlc-ettarr.c"
- &ett_atn_cpdlc
+ #include "packet-atn-cpdlc-ettarr.c"
+ &ett_atn_cpdlc
};
/* register CPDLC */