summaryrefslogtreecommitdiff
path: root/bgpd/bgp_community.c
diff options
context:
space:
mode:
authorPaul Jakma <paul@quagga.net>2009-06-02 19:43:51 +0100
committerPaul Jakma <paul@quagga.net>2009-06-02 19:43:51 +0100
commit6e0989e113d9e2268e58cfe29922e971793c1d06 (patch)
tree624de12c4ba2a53c92a38ac6ee0170d108137c37 /bgpd/bgp_community.c
parent0be8dfb2a95f41f100982085595b7c7505127018 (diff)
parente6b6a56419ed5a2e8cf2cb11eab340d7b0d28055 (diff)
Merge remote branch 'origin/master'
Diffstat (limited to 'bgpd/bgp_community.c')
-rw-r--r--bgpd/bgp_community.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_community.c b/bgpd/bgp_community.c
index a05ea6c6..64c6810f 100644
--- a/bgpd/bgp_community.c
+++ b/bgpd/bgp_community.c
@@ -78,7 +78,7 @@ community_del_val (struct community *com, u_int32_t *val)
c = com->size -i -1;
if (c > 0)
- memcpy (com->val + i, com->val + (i + 1), c * sizeof (val));
+ memcpy (com->val + i, com->val + (i + 1), c * sizeof (*val));
com->size--;