]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4061] Fixed typo
authorFrancis Dupont <fdupont@isc.org>
Thu, 1 Oct 2015 15:47:03 +0000 (17:47 +0200)
committerFrancis Dupont <fdupont@isc.org>
Thu, 1 Oct 2015 15:47:03 +0000 (17:47 +0200)
src/lib/dhcpsrv/cfg_subnets4.cc

index c5a52f19dd7c0153e33e54a2b46a38147d08e023..873e99417c0a5091dfba9792b8b2f51632d9d259 100644 (file)
@@ -65,7 +65,7 @@ CfgSubnets4::selectSubnet(const SubnetSelector& selector) const {
     // what address from the client's packet to use to match with the
     // subnets' prefixes.
 
-    IOAddress address = IOAddress::IPV6_ZERO_ADDRESS();
+    IOAddress address = IOAddress::IPV4_ZERO_ADDRESS();
     // If there is a giaddr, use it for subnet selection.
     if (!selector.giaddr_.isV4Zero()) {
         address = selector.giaddr_;