aboutsummaryrefslogtreecommitdiffstats
path: root/packet-bgp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-05-15 05:35:42 +0000
committerGuy Harris <guy@alum.mit.edu>2003-05-15 05:35:42 +0000
commit21ad5d80674366c19cb580a5e642e27f627c8da7 (patch)
treee7ef2b9ce46047fc6dab2f642589337507afc174 /packet-bgp.c
parent084b87c9c2f7540f1d46d865b87f4e9a1af33121 (diff)
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.c4
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;