From: Marcin Siodelski Date: Wed, 6 Mar 2019 15:44:07 +0000 (+0100) Subject: [#488,!259] Test authoritative flag in MySQL CB. X-Git-Tag: 494-dhcp4configparser-sharednetworkssanitychecks-is-buggy_base~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf57715611bbb306222df261bcdea3af50d9d3d9;p=thirdparty%2Fkea.git [#488,!259] Test authoritative flag in MySQL CB. --- diff --git a/src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc b/src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc index 60ef55388b..de1529d333 100644 --- a/src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc +++ b/src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc @@ -192,6 +192,7 @@ public: shared_network->setSiaddr(IOAddress("192.0.1.2")); shared_network->setSname("frog"); shared_network->setFilename("/dev/null"); + shared_network->setAuthoritative(true); // Add several options to the shared network. shared_network->getCfgOption()->add(test_options_[2]->option_,