fort/bin/lua/wipf/util/ip.lua
2015-01-19 11:40:38 +05:00

18 lines
304 B
Lua

-- WIPF IP Utilities
local sys = require"sys"
local sock = require"sys.sock"
-- Convert IPv4 ranges in text to 'from_ip4' & 'to_ip4' arrays with numbers
local function ip4range_to_numbers(text)
local from, to = {}, {}
return from, to
end
return {
ip4range_to_numbers = ip4range_to_numbers,
}