Parcourir la source

[3919] Initialize ext_

Francis Dupont il y a 9 ans
Parent
commit
b1232181d1
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      src/lib/dhcpsrv/lease.h

+ 2 - 1
src/lib/dhcpsrv/lease.h

@@ -246,7 +246,8 @@ struct Lease4 : public Lease {
     /// @brief Default constructor
     ///
     /// Initialize fields that don't have a default constructor.
-    Lease4() : Lease(0, 0, 0, 0, 0, 0, false, false, "", HWAddrPtr()) {
+    Lease4() : Lease(0, 0, 0, 0, 0, 0, false, false, "", HWAddrPtr()), ext_(0)
+    {
     }
 
     /// @brief Copy constructor