]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#488,!259] Test authoritative flag in MySQL CB.
authorMarcin Siodelski <marcin@isc.org>
Wed, 6 Mar 2019 15:44:07 +0000 (16:44 +0100)
committerMarcin Siodelski <marcin@isc.org>
Thu, 7 Mar 2019 13:00:36 +0000 (08:00 -0500)
src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc

index 60ef55388bddec215baf8c72fdfa5981cca1fb95..de1529d3333004634d33dfd82809ed3fdebecdb5 100644 (file)
@@ -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_,