aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-lcsap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-03-12 15:10:29 -0700
committerGuy Harris <guy@alum.mit.edu>2014-03-12 22:10:53 +0000
commitc8b6b7699635cd5f9039d6a90d2267ac06e205c5 (patch)
tree33e4d826fbc893774248851bb5cbf2fa7f01420e /epan/dissectors/packet-lcsap.c
parent0284e87bea177188343d3ce9ebdfe2ec0d4044b7 (diff)
Thou shalt not put newlines in the strings in value_string tables.
That just breaks too many things. This catches the examples of that found in bug 9878. There might be others that my grepping didn't find. We should also have the checkAPIs.pl script check for this, so this isn't a full fix for bug 9878. Change-Id: I3bf6f1fc0fe8654d0f54a995e72f1966ae012f5e Reviewed-on: https://code.wireshark.org/review/623 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-lcsap.c')
-rw-r--r--epan/dissectors/packet-lcsap.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/epan/dissectors/packet-lcsap.c b/epan/dissectors/packet-lcsap.c
index e7d579ce27..4de99bab0e 100644
--- a/epan/dissectors/packet-lcsap.c
+++ b/epan/dissectors/packet-lcsap.c
@@ -365,8 +365,7 @@ static const value_string lcsap_pos_usage_vals[] = {
{ 0x01, "Attempted successfully: results not used to generate location - not used." },
{ 0x02, "Attempted successfully: results used to verify but not generate location - not used." },
{ 0x03, "Attempted successfully: results used to generate location" },
- { 0x04, "Attempted successfully: case where UE supports multiple mobile based positioning methods \n"
- "and the actual method or methods used by the UE cannot be determined." },
+ { 0x04, "Attempted successfully: case where UE supports multiple mobile based positioning methods and the actual method or methods used by the UE cannot be determined." },
{ 0x05, "Reserved" },
{ 0x06, "Reserved" },
{ 0x07, "Reserved" },
@@ -401,8 +400,7 @@ static const value_string lcsap_gnss_pos_usage_vals[] = {
{ 0x01, "Attempted successfully: results not used to generate location" },
{ 0x02, "Attempted successfully: results used to verify but not generate location" },
{ 0x03, "Attempted successfully: results used to generate location" },
- { 0x04, "Attempted successfully: case where UE supports multiple mobile based positioning methods \n"
- "and the actual method or methods used by the UE cannot be determined." },
+ { 0x04, "Attempted successfully: case where UE supports multiple mobile based positioning methods and the actual method or methods used by the UE cannot be determined." },
{ 0x05, "Reserved" },
{ 0x06, "Reserved" },
{ 0x07, "Reserved" },
@@ -2221,7 +2219,7 @@ static int dissect_LCS_AP_PDU_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, pro
/*--- End of included file: packet-lcsap-fn.c ---*/
-#line 199 "../../asn1/lcsap/packet-lcsap-template.c"
+#line 197 "../../asn1/lcsap/packet-lcsap-template.c"
static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
@@ -2320,7 +2318,7 @@ proto_reg_handoff_lcsap(void)
/*--- End of included file: packet-lcsap-dis-tab.c ---*/
-#line 259 "../../asn1/lcsap/packet-lcsap-template.c"
+#line 257 "../../asn1/lcsap/packet-lcsap-template.c"
} else {
if (SctpPort != 0) {
dissector_delete_uint("sctp.port", SctpPort, lcsap_handle);
@@ -2802,7 +2800,7 @@ void proto_register_lcsap(void) {
"UnsuccessfulOutcome_value", HFILL }},
/*--- End of included file: packet-lcsap-hfarr.c ---*/
-#line 304 "../../asn1/lcsap/packet-lcsap-template.c"
+#line 302 "../../asn1/lcsap/packet-lcsap-template.c"
};
/* List of subtrees */
@@ -2858,7 +2856,7 @@ void proto_register_lcsap(void) {
&ett_lcsap_UnsuccessfulOutcome,
/*--- End of included file: packet-lcsap-ettarr.c ---*/
-#line 310 "../../asn1/lcsap/packet-lcsap-template.c"
+#line 308 "../../asn1/lcsap/packet-lcsap-template.c"
};
module_t *lcsap_module;