]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4110] Added dhcp4o6_ flag in selector structure
authorFrancis Dupont <fdupont@isc.org>
Sun, 1 Nov 2015 02:24:34 +0000 (03:24 +0100)
committerFrancis Dupont <fdupont@isc.org>
Sun, 1 Nov 2015 02:24:34 +0000 (03:24 +0100)
src/lib/dhcpsrv/subnet_selector.h

index cfcdc5fc369db20ddd7d33e3b3b0151935b59e33..81d6687864cfebe973acec07c53450cfd2e58e42 100644 (file)
@@ -47,6 +47,9 @@ struct SubnetSelector {
     asiolink::IOAddress first_relay_linkaddr_;
     //@}
 
+    /// @name DHCPv4-over-DHCPv6 flag
+    bool dhcp4o6_;
+
     /// @brief Address on which the message was received.
     asiolink::IOAddress local_address_;
     /// @brief Source address of the message.
@@ -65,6 +68,7 @@ struct SubnetSelector {
           option_select_(asiolink::IOAddress("0.0.0.0")),
           interface_id_(),
           first_relay_linkaddr_(asiolink::IOAddress("::")),
+          dhcp4o6_(false),
           local_address_(asiolink::IOAddress("0.0.0.0")),
           remote_address_(asiolink::IOAddress("0.0.0.0")),
           client_classes_(), iface_name_(std::string()) {