network/radv: merge two boolean flags for prefix into one

This commit is contained in:
Yu Watanabe
2024-04-24 12:26:25 +09:00
parent c7c56724a5
commit 6fe51dc50c
3 changed files with 14 additions and 17 deletions
+2 -4
View File
@@ -30,14 +30,12 @@ typedef struct Prefix {
Network *network;
ConfigSection *section;
struct in6_addr prefix;
uint8_t flags;
uint8_t prefixlen;
struct in6_addr prefix;
usec_t preferred_lifetime;
usec_t valid_lifetime;
bool onlink;
bool address_auto_configuration;
bool assign;
uint32_t route_metric;
Set *tokens;