Skip to content

Commit

Permalink
fix for nftables addons
Browse files Browse the repository at this point in the history
  • Loading branch information
ansibleguy committed Jul 22, 2023
1 parent df3cfed commit ff75583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/usr/lib/nftables/util.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def validate_and_write(key: str, lines: list, file: str):
addon_includes = ''

for inc in listdir(ADDON_DIR):
if inc != file_out:
if inc.endswith('.nft') and inc != file_out:
addon_includes += f'include "{inc}"\n'

_write(
Expand Down

0 comments on commit ff75583

Please sign in to comment.