Commit 065f1c35 authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix

parent 03ca7b6c
......@@ -11,6 +11,7 @@ module.exports =
row.private_address ?= row.public_address
row.tos = '0x' + row.tos.toString(16) if row.tos?
servers[row.id] = row
servers[server_id].next_hop = server_id
client.query 'SELECT * FROM links WHERE "from" = $1::smallint or "to" = $1::smallint', [server_id], (error, result) ->
throw error if error
for row in result.rows
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment