]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[94-cb-implement-mysqlconfigbackenddhcpv6-prepare] Fixed MYSQL_DELETE_PD_POOLS
authorFrancis Dupont <fdupont@isc.org>
Mon, 11 Feb 2019 10:04:30 +0000 (11:04 +0100)
committerFrancis Dupont <fdupont@isc.org>
Fri, 22 Feb 2019 22:59:25 +0000 (17:59 -0500)
src/hooks/dhcp/mysql_cb/mysql_query_macros_dhcp.h

index b5c4cbc1ed716f274c94989d5e2beaae1c4793d2..9dbc7261626cdb6e495a559784fd055eef0eb4e0 100644 (file)
@@ -537,7 +537,7 @@ namespace {
 #ifndef MYSQL_DELETE_PD_POOLS
 #define MYSQL_DELETE_PD_POOLS() \
     "DELETE FROM dhcp6_pd_pool " \
-    "WHERE subnet_id = ?"
+    "WHERE dhcp6_subnet_id = ?"
 #endif
 
 #ifndef MYSQL_DELETE_SHARED_NETWORK