From 7a559cbe8f794d298419a8ada80a9f12933eceda Mon Sep 17 00:00:00 2001 From: Paul Jakma Date: Mon, 8 May 2006 14:32:07 +0000 Subject: [ripngd] bug #242, fix crash in routemap, ipv6 stored in in_addr. 2006-05-08 Paul Jakma * ripng_routemap.c: (route_set_ipv6_nexthop_local_compile) bug #242, s/in_addr/in6_addr to fix crash. Thanks to jithinvachery+quagga@gmail.com. --- ripngd/ChangeLog | 6 ++++++ ripngd/ripng_routemap.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'ripngd') diff --git a/ripngd/ChangeLog b/ripngd/ChangeLog index 556ca8b4..ff284f1f 100644 --- a/ripngd/ChangeLog +++ b/ripngd/ChangeLog @@ -1,3 +1,9 @@ +2006-05-08 Paul Jakma + + * ripng_routemap.c: (route_set_ipv6_nexthop_local_compile) bug + #242, s/in_addr/in6_addr to fix crash. + Thanks to jithinvachery+quagga@gmail.com. + 2006-01-19 Paul Jakma * (general) various miscellaneous compiler warning fixes. 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); -- cgit v1.2.1