diff options
author | Denis Ovsienko <infrastation@yandex.ru> | 2012-01-08 18:27:12 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2012-01-26 11:42:54 +0400 |
commit | aca43b656623f38dfa6ea835dacbdfec51d03a67 (patch) | |
tree | 0d53b9b2340000e169cffdf1ca39983607b193d4 /zebra/rtadv.h | |
parent | 6bb1273e83c29b3aeff9584bc8f6272e773294ad (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.h | 2 |
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; |