Explorar o código

Fix mysql query host reservation

Espinoza Guillermo %!s(int64=6) %!d(string=hai) anos
pai
achega
960c4cf814

+ 1 - 1
src/HostBundle/EventListener/KEAHostReservationSubscriber.php

@@ -74,7 +74,7 @@ class KEAHostReservationSubscriber implements EventSubscriber
                 INSERT INTO kea.hosts (dhcp_identifier,
                 dhcp_identifier_type,
                 ipv4_address)
-                VALUES :mac,
+                VALUES (:mac,
                 (SELECT type FROM kea.host_identifier_type WHERE name=:type),
                 INET_ATON(:ip));
                 ";