From 031906f7bceb9c59e437ec2ea4e8219d6c20b9b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net> Date: Sat, 3 Apr 2021 03:33:49 -0400 Subject: [PATCH] At least test that it compiles. Sheesh. --- exec/load/dns.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/exec/load/dns.js b/exec/load/dns.js index 09b7bf905e..0d88fc0a58 100644 --- a/exec/load/dns.js +++ b/exec/load/dns.js @@ -167,19 +167,19 @@ function DNS(servers) { ).replace(/(0000:)+/, ':').replace(/(^|:)0{1,3}/g, '$1'); case 33: // SRV tmp = {}; - tmp.priority = string_to_int16(resp.substr(offset, 2); + tmp.priority = string_to_int16(resp.substr(offset, 2)); offset += 2; - tmp.weight = string_to_int16(resp.substr(offset, 2); + tmp.weight = string_to_int16(resp.substr(offset, 2)); offset += 2; - tmp.port = string_to_int16(resp.substr(offset, 2); + tmp.port = string_to_int16(resp.substr(offset, 2)); offset += 2; tmp.target = get_name(resp, offset).name; return tmp; case 35: // NAPTR tmp = {}; - tmp.order = string_to_int16(resp.substr(offset, 2); + tmp.order = string_to_int16(resp.substr(offset, 2)); offset += 2; - tmp.preference = string_to_int16(resp.substr(offset, 2); + tmp.preference = string_to_int16(resp.substr(offset, 2)); offset += 2; tmp2 = get_string(resp, offset); tmp.flags = tmp2.string; @@ -194,9 +194,9 @@ function DNS(servers) { return tmp; case 256: // URI tmp = {}; - tmp.priority = string_to_int16(resp.substr(offset, 2); + tmp.priority = string_to_int16(resp.substr(offset, 2)); offset += 2; - tmp.weight = string_to_int16(resp.substr(offset, 2); + tmp.weight = string_to_int16(resp.substr(offset, 2)); offset += 2; tmp.target = get_string(resp, offset).string; tmp.target = tmp.target.replace(/\\"/g, '"'); -- GitLab