diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-05-15 05:35:42 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-05-15 05:35:42 +0000 |
commit | 21ad5d80674366c19cb580a5e642e27f627c8da7 (patch) | |
tree | e7ef2b9ce46047fc6dab2f642589337507afc174 /packet-bgp.c | |
parent | 084b87c9c2f7540f1d46d865b87f4e9a1af33121 (diff) | |
download | wireshark-21ad5d80674366c19cb580a5e642e27f627c8da7.tar.gz wireshark-21ad5d80674366c19cb580a5e642e27f627c8da7.tar.bz2 wireshark-21ad5d80674366c19cb580a5e642e27f627c8da7.zip |
Fix the call that adds the local preference to the tree.
svn path=/trunk/; revision=7673
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 76dbc1a103..d058bd4f0e 100644 --- a/packet-bgp.c +++ b/packet-bgp.c @@ -2,7 +2,7 @@ * Routines for BGP packet dissection. * Copyright 1999, Jun-ichiro itojun Hagino <itojun@itojun.org> * - * $Id: packet-bgp.c,v 1.77 2003/04/25 14:44:43 gerald Exp $ + * $Id: packet-bgp.c,v 1.78 2003/05/15 05:35:42 guy Exp $ * * Supports: * RFC1771 A Border Gateway Protocol 4 (BGP-4) @@ -1821,7 +1821,7 @@ dissect_bgp_update(tvbuff_t *tvb, proto_tree *tree) "Local preference (invalid): %u %s", tlen, (tlen == 1) ? "byte" : "bytes"); } else { - proto_tree_add_uint(subtree2, hf_bgp_local_pref, tvb, + proto_tree_add_item(subtree2, hf_bgp_local_pref, tvb, o + i + aoff, tlen, FALSE); } break; |