aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/server_epoll.lua2
-rw-r--r--net/unbound.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index f61c204c..faa6a1b5 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -26,7 +26,7 @@ local createtable = require "util.table".create;
local inet = require "util.net";
local inet_pton = inet.pton;
local _SOCKETINVALID = socket._SOCKETINVALID or -1;
-local new_id = require "util.id".medium;
+local new_id = require "util.id".short;
local xpcall = require "util.xpcall".xpcall;
local poller = require "util.poll"
diff --git a/net/unbound.lua b/net/unbound.lua
index 22b0614b..4a6f0241 100644
--- a/net/unbound.lua
+++ b/net/unbound.lua
@@ -18,7 +18,7 @@ local log = logger.init("unbound");
local net_server = require "net.server";
local libunbound = require"lunbound";
local promise = require"util.promise";
-local new_id = require "util.id".medium;
+local new_id = require "util.id".short;
local gettime = require"socket".gettime;
local dns_utils = require"util.dns";