summaryrefslogtreecommitdiff
path: root/data/templates/dhcp-server
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-26 18:42:20 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-26 18:42:20 +0200
commit03770cdacb750344cdb0eaa260ad6d56684293c0 (patch)
tree23c6576d9af784cb4f9717fc47d5c9ae61bb6a05 /data/templates/dhcp-server
parentc8c2269ac0919a91768cf061fb808dae044fb3b1 (diff)
downloadvyos-1x-03770cdacb750344cdb0eaa260ad6d56684293c0.tar.gz
vyos-1x-03770cdacb750344cdb0eaa260ad6d56684293c0.zip
dhcp: T4389: fix vendor name, it is ubiquiti with an i, not yx
Diffstat (limited to 'data/templates/dhcp-server')
-rw-r--r--data/templates/dhcp-server/dhcpd.conf.j26
1 files changed, 3 insertions, 3 deletions
diff --git a/data/templates/dhcp-server/dhcpd.conf.j2 b/data/templates/dhcp-server/dhcpd.conf.j2
index 4eb472951..4c2da0aa5 100644
--- a/data/templates/dhcp-server/dhcpd.conf.j2
+++ b/data/templates/dhcp-server/dhcpd.conf.j2
@@ -23,7 +23,7 @@ option rfc3442-static-route code 121 = array of integer 8;
option windows-static-route code 249 = array of integer 8;
option wpad-url code 252 = text;
-# Vendor specific options - Ubiquity Networks
+# Vendor specific options - Ubiquiti Networks
option space ubnt;
option ubnt.unifi-controller code 1 = ip-address;
class "ubnt" {
@@ -203,8 +203,8 @@ shared-network {{ network }} {
}
{% endfor %}
{% endif %}
-{% if subnet_config.vendor_option.ubiquity.unifi_controller is vyos_defined %}
- option ubnt.unifi-controller {{ subnet_config.vendor_option.ubiquity.unifi_controller }};
+{% if subnet_config.vendor_option.ubiquiti.unifi_controller is vyos_defined %}
+ option ubnt.unifi-controller {{ subnet_config.vendor_option.ubiquiti.unifi_controller }};
{% endif %}
{% if subnet_config.range is vyos_defined %}
{# pool configuration can only be used if there follows a range option #}