diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-01-27 15:35:59 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-01-27 15:35:59 +0000 |
commit | 37e5c1aab5296960cb7deb8d55c44b584e4b0df4 (patch) | |
tree | 5b57f07c634d4279a6b5c586b08c74203e047b6a | |
parent | d7df6a2cf0dcc2d158337a7e5afd7f32892a7761 (diff) | |
download | wireshark-37e5c1aab5296960cb7deb8d55c44b584e4b0df4.tar.gz wireshark-37e5c1aab5296960cb7deb8d55c44b584e4b0df4.tar.bz2 wireshark-37e5c1aab5296960cb7deb8d55c44b584e4b0df4.zip |
Remove a check_col() in asn1 template file (SVN #31519 did only the generated file).
svn path=/trunk/; revision=31701
-rw-r--r-- | asn1/sabp/packet-sabp-template.c | 3 | ||||
-rw-r--r-- | epan/dissectors/packet-sabp.c | 8 |
2 files changed, 5 insertions, 6 deletions
diff --git a/asn1/sabp/packet-sabp-template.c b/asn1/sabp/packet-sabp-template.c index b3b0d72f55..e7c87d5d8a 100644 --- a/asn1/sabp/packet-sabp-template.c +++ b/asn1/sabp/packet-sabp-template.c @@ -144,8 +144,7 @@ dissect_sabp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_tree *sabp_tree = NULL; /* make entry in the Protocol column on summary display */ - if (check_col(pinfo->cinfo, COL_PROTOCOL)) - col_set_str(pinfo->cinfo, COL_PROTOCOL, PSNAME); + col_set_str(pinfo->cinfo, COL_PROTOCOL, PSNAME); /* create the sbap protocol tree */ sabp_item = proto_tree_add_item(tree, proto_sabp, tvb, 0, -1, FALSE); diff --git a/epan/dissectors/packet-sabp.c b/epan/dissectors/packet-sabp.c index 136b95b980..2438654027 100644 --- a/epan/dissectors/packet-sabp.c +++ b/epan/dissectors/packet-sabp.c @@ -1738,7 +1738,7 @@ dissect_sabp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_tree *sabp_tree = NULL; /* make entry in the Protocol column on summary display */ - col_set_str(pinfo->cinfo, COL_PROTOCOL, PSNAME); + col_set_str(pinfo->cinfo, COL_PROTOCOL, PSNAME); /* create the sbap protocol tree */ sabp_item = proto_tree_add_item(tree, proto_sabp, tvb, 0, -1, FALSE); @@ -2087,7 +2087,7 @@ void proto_register_sabp(void) { "sabp.UnsuccessfulOutcome_value", HFILL }}, /*--- End of included file: packet-sabp-hfarr.c ---*/ -#line 177 "packet-sabp-template.c" +#line 176 "packet-sabp-template.c" }; /* List of subtrees */ @@ -2140,7 +2140,7 @@ void proto_register_sabp(void) { &ett_sabp_UnsuccessfulOutcome, /*--- End of included file: packet-sabp-ettarr.c ---*/ -#line 186 "packet-sabp-template.c" +#line 185 "packet-sabp-template.c" }; @@ -2222,7 +2222,7 @@ proto_reg_handoff_sabp(void) /*--- End of included file: packet-sabp-dis-tab.c ---*/ -#line 222 "packet-sabp-template.c" +#line 221 "packet-sabp-template.c" } |