config: use correct defaults if interface is not in UCI
[project/odhcpd.git] / src / odhcpd.h
index 010cd9e..cf34938 100644 (file)
@@ -68,6 +68,7 @@ struct odhcpd_event {
 struct odhcpd_ipaddr {
        struct in6_addr addr;
        uint8_t prefix;
+       uint8_t dprefix;
        bool has_class;
        uint16_t class;
        uint32_t preferred;
@@ -119,6 +120,10 @@ struct interface {
        struct odhcpd_event dhcpv4_event;
        struct list_head dhcpv4_assignments;
 
+       // Managed PD
+       char dhcpv6_pd_manager[128];
+       struct in6_addr dhcpv6_pd_cer;
+
        // Services
        enum odhcpd_mode ra;
        enum odhcpd_mode dhcpv6;