Browse Source

[3919] Initialize ext_

Francis Dupont 9 years ago
parent
commit
b1232181d1
1 changed files with 2 additions and 1 deletions
  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