浏览代码

Fix mysql query host reservation

Espinoza Guillermo 6 年之前
父节点
当前提交
960c4cf814
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/HostBundle/EventListener/KEAHostReservationSubscriber.php

+ 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));
                 ";