ubus: fix invalid ipv6-prefix json
[project/odhcpd.git] / src / odhcpd.h
index fbfeb67..9a27708 100644 (file)
@@ -133,8 +133,9 @@ enum odhcpd_mode {
 
 
 enum odhcpd_assignment_flags {
-       OAF_BOUND       = (1 << 0),
-       OAF_STATIC      = (1 << 1),
+       OAF_TENTATIVE   = (1 << 0),
+       OAF_BOUND       = (1 << 1),
+       OAF_STATIC      = (1 << 2),
 };
 
 struct config {
@@ -208,6 +209,8 @@ struct interface {
        bool ra_advrouter;
        bool ra_useleasetime;
        bool no_dynamic_dhcp;
+       uint8_t pio_filter_length;
+       struct in6_addr pio_filter_addr;
 
        // RA
        int learn_routes;