From aca43b656623f38dfa6ea835dacbdfec51d03a67 Mon Sep 17 00:00:00 2001 From: Denis Ovsienko Date: Sun, 8 Jan 2012 18:27:12 +0400 Subject: zebra: use prefix_ipv6 in rtadv_prefix rtadv_prefix.prefix was casted to "struct prefix_ipv6" and had the same size, make it exactly this type to make the code a bit cleaner. --- zebra/rtadv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zebra/rtadv.h') diff --git a/zebra/rtadv.h b/zebra/rtadv.h index d8d263d0..5bf6b84c 100644 --- a/zebra/rtadv.h +++ b/zebra/rtadv.h @@ -30,7 +30,7 @@ struct rtadv_prefix { /* Prefix to be advertised. */ - struct prefix prefix; + struct prefix_ipv6 prefix; /* The value to be placed in the Valid Lifetime in the Prefix */ u_int32_t AdvValidLifetime; -- cgit v1.2.1