From 936f2f7ea309b206df6268b110ee376617038463 Mon Sep 17 00:00:00 2001 From: Matthew Grotke Date: Sun, 31 May 2026 23:57:49 -0400 Subject: [PATCH] Development --- docker/routlin-dash/app/factory.py | 6 +++--- routlin/core.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/routlin-dash/app/factory.py b/docker/routlin-dash/app/factory.py index c09146e..9e3aaa2 100644 --- a/docker/routlin-dash/app/factory.py +++ b/docker/routlin-dash/app/factory.py @@ -860,7 +860,7 @@ def build_table_worker_script(item, expanded_ra_fields): return '' if nonstandard == {'credentials'}: return ( - f'\n' + '}()));});\n' ) - return f'\n' + return f'\n' # Table cell renderer ================================================= diff --git a/routlin/core.py b/routlin/core.py index fa7528d..2b2f690 100644 --- a/routlin/core.py +++ b/routlin/core.py @@ -1573,7 +1573,7 @@ def build_nft_config(data, dry_run=False): if port_spec is not None: line(f" ip saddr {src} ip daddr {dst} {proto} dport {port_spec} ct state new accept") else: - line(f" ip saddr {src} ip daddr {dst} {proto} ct state new accept") + line(f" ip saddr {src} ip daddr {dst} ip protocol {proto} ct state new accept") line() if all_fwd: