fix
diff --git a/files/dhcpd.conf b/files/dhcpd.conf
index 13375a6..ed87ab7 100644
--- a/files/dhcpd.conf
+++ b/files/dhcpd.conf
@@ -1,6 +1,7 @@
 {%- from "isc_dhcp/map.jinja" import server with context %}
+{%- if server.enabled %}
 
-{%- if server.omapi_port is defined -%}
+{%- if server.omapi_port is defined %}
 omapi-port {{ server.omapi_port }};
 {% endif -%}
 
@@ -91,4 +92,4 @@
 
 include "{{ server.config.dir }}/dhcpd.hosts";
 
-{%- endif -%}
\ No newline at end of file
+{%- endif %}
\ No newline at end of file