summaryrefslogtreecommitdiff
path: root/bgpd/bgp_aspath.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_aspath.c')
-rw-r--r--bgpd/bgp_aspath.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_aspath.c b/bgpd/bgp_aspath.c
index 1f522d79..b328e38a 100644
--- a/bgpd/bgp_aspath.c
+++ b/bgpd/bgp_aspath.c
@@ -1447,8 +1447,9 @@ aspath_str2aspath (const char *str)
/* Make hash value by raw aspath data. */
unsigned int
-aspath_key_make (struct aspath *aspath)
+aspath_key_make (void *p)
{
+ struct aspath * aspath = (struct aspath *) p;
unsigned int key = 0;
unsigned int i;
struct assegment *seg = aspath->segments;