Parcourir la source

[4061] Fixed typo

Francis Dupont il y a 9 ans
Parent
commit
f74fcdeb9e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/lib/dhcpsrv/cfg_subnets4.cc

+ 1 - 1
src/lib/dhcpsrv/cfg_subnets4.cc

@@ -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_;