summaryrefslogtreecommitdiff
path: root/ripngd/ripng_routemap.c
diff options
context:
space:
mode:
Diffstat (limited to 'ripngd/ripng_routemap.c')
-rw-r--r--ripngd/ripng_routemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ripngd/ripng_routemap.c b/ripngd/ripng_routemap.c
index abaa61e1..1570c78b 100644
--- a/ripngd/ripng_routemap.c
+++ b/ripngd/ripng_routemap.c
@@ -416,7 +416,7 @@ route_set_ipv6_nexthop_local_compile (const char *arg)
int ret;
struct in6_addr *address;
- address = XMALLOC (MTYPE_ROUTE_MAP_COMPILED, sizeof (struct in_addr));
+ address = XMALLOC (MTYPE_ROUTE_MAP_COMPILED, sizeof (struct in6_addr));
ret = inet_pton (AF_INET6, arg, address);