diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-03-06 20:04:53 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-03-06 20:04:53 +0000 |
commit | 745866e2966479bdb695e56d8f2c39d08ea937f9 (patch) | |
tree | 236a4dea550a3adfb88c8f389d8feeb52895520e /packet-bgp.c | |
parent | cd91773ba04623dcf14d60f3d1f40486ff44dea2 (diff) |
Fix some "proto_tree_add_text()" calls.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1695 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-bgp.c')
-rw-r--r-- | packet-bgp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-bgp.c b/packet-bgp.c index 205bd84485..3d9344add6 100644 --- a/packet-bgp.c +++ b/packet-bgp.c @@ -869,7 +869,7 @@ dissect_bgp_update(const u_char *pd, int offset, frame_data *fd, subtree3 = proto_item_add_subtree(ti, ett_bgp_mp_reach_nlri); for (/*nothing*/; snpa > 0; snpa--) { proto_tree_add_text(subtree3, p - pd + i + aoff + off, 1, - "SNPA length: ", p[i + aoff + off]); + "SNPA length: %u", p[i + aoff + off]); off++; proto_tree_add_text(subtree3, p - pd + i + aoff + off, p[i + aoff + off - 1], @@ -1134,7 +1134,7 @@ dissect_bgp(const u_char *pd, int offset, frame_data *fd, proto_tree *tree) } proto_tree_add_text(bgp1_tree, offset + i, BGP_MARKER_SIZE, - "Marker", NULL); + "Marker"); if (hlen < BGP_HEADER_SIZE || hlen > BGP_MAX_PACKET_SIZE) { proto_tree_add_text(bgp1_tree, |