From 177bd781846a8dcad44cad6d54a100556a5ba844 Mon Sep 17 00:00:00 2001 From: Evan Cassidy Date: Mon, 24 Jul 2023 16:06:42 +0000 Subject: [PATCH] [fmt] dns --- applications/dns.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/dns.nix b/applications/dns.nix index 98f7ca9..b88ec89 100644 --- a/applications/dns.nix +++ b/applications/dns.nix @@ -18,7 +18,7 @@ let sort_records_a = builtins.sort (a: b: (ip_ptr_to_int a.value) < (ip_ptr_to_int b.value)) filter_records_a; sort_records_cname = builtins.sort (a: b: a.value < b.value) (filter_records_type "CNAME"); sort_records_ptr = builtins.sort (a: b: (lib.strings.toInt a.record) < (lib.strings.toInt b.record)) (process_ptr (filter_records_type "PTR")); - sort_records_srv = builtins.sort (a: b: a.record < b.record) (filter_records_type "SRV"); + sort_records_srv = builtins.sort (a: b: a.record < b.record) (filter_records_type "SRV"); format_records = records: offset: lib.strings.concatMapStrings (x: "${padString x.record offset} IN ${padString x.r_type 5} ${x.value}\n") records;