summaryrefslogtreecommitdiff
path: root/data/templates/dhcp-relay/dhcrelay.conf.tmpl
blob: df990207bb55a5863e860b149025dcd7c0bfa9d5 (plain)
1
2
3
4
5
6
### Autogenerated by dhcp_relay.py ###

{% set max_size = '-A ' + relay_options.max_size if relay_options.max_size is defined and relay_options.max_size is not none %}
{# hop_count and relay_agents_packets is a default option, thus it is always present #}
OPTIONS="-4 -c {{ relay_options.hop_count }} -a -m {{ relay_options.relay_agents_packets }} {{ max_size }} -i {{ interface | join(' -i ') }} {{ server | join(' ') }}"