• Thomas Markwalder's avatar
    [#651,!384] Fix input IAID in postgresql lease6 fetchers · 209ac10e
    Thomas Markwalder authored
    src/lib/dhcpsrv/pgsql_lease_mgr.cc
        PgSqlLease6Exchange::Uiaid - made this public and added function to
        return the int32 bit value as a string
    
        PgSqlLeaseMgr::getLeases6() - uses Uiaid.dbInputString() now
    
    src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.*
        GenericLeaseMgrTest::testLease6LargeIaidCheck() - new test to
        ensure large value iaids can be stored.
    
    src/lib/dhcpsrv/tests/pgsql_lease_mgr_unittest.cc
        TEST_F(PgSqlLeaseMgrTest, leases6LargeIaidCheck) - new test
    
    src/lib/dhcpsrv/tests/cql_lease_mgr_unittest.cc
        TEST_F(CqlLeaseMgrTest, lease6InvalidHostname) - new test
    
    src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc
        TEST_F(MySqlLeaseMgrTest, leases6LargeIaidCheck) - new test
    209ac10e
generic_lease_mgr_unittest.h 19.8 KB