Skip to content

Commit

Permalink
fix mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Jul 23, 2024
1 parent 3d7acd6 commit 9059e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/dns/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ local function parse_hosts(path, enable_ipv6)

-- Check if the line contains an IP address followed by hostnames
if n >= 2 then
local ip, _, family = _M.parse_hostname(parts[1])
local ip, _, family = parse_hostname(parts[1])

if family ~= "domain" then -- ipv4/ipv6
for i = 2, n do
Expand Down

0 comments on commit 9059e96

Please sign in to comment.