summaryrefslogtreecommitdiff
path: root/zebra/rtadv.h
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2012-01-08 18:27:12 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2012-01-26 11:42:54 +0400
commitaca43b656623f38dfa6ea835dacbdfec51d03a67 (patch)
tree0d53b9b2340000e169cffdf1ca39983607b193d4 /zebra/rtadv.h
parent6bb1273e83c29b3aeff9584bc8f6272e773294ad (diff)
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.
Diffstat (limited to 'zebra/rtadv.h')
-rw-r--r--zebra/rtadv.h2
1 files changed, 1 insertions, 1 deletions
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;