Changeset 10732 in genesis
- Timestamp:
- May 8, 2012, 10:51:51 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r10731 r10732 122 122 123 123 dhcp_interfaces = [datadump[key]['autogen_ifname'] for key in datadump['autogen_iface_keys'] if datadump[key]['dhcp']] 124 datadump['autogen_dhcp_interfaces'] = ','.join(dhcp_interfaces)124 datadump['autogen_dhcp_interfaces'] = dhcp_interfaces 125 125 datadump['autogen_item'] = item 126 126 … … 593 593 dnsmasq_enable="NO" 594 594 named_enable="YES" 595 {% if autogen_dhcp_interfaces -%} 595 596 dhcpd_enable="YES" 597 dhcpd_flags="$dhcpd_flags {{ autogen_dhcp_interfaces|join(' ') }}" 598 {% endif -%} 596 599 {% endif -%} 597 600 … … 609 612 list_normal_proxies="{{ autogen_normal_proxies_ips }}" 610 613 611 captive_portal_interfaces="{{ autogen_dhcp_interfaces }}"614 captive_portal_interfaces="{{ autogen_dhcp_interfaces|join(',') }}" 612 615 613 616 lvrouted_flags="-u -s s00p3rs3kr3t -m 28 -z $list_ileiden_proxies"
Note:
See TracChangeset
for help on using the changeset viewer.