Comparison

net/dns.lua @ 6780:647adfd8f738

net.*: Remove use of module() function
author Kim Alvefur <zash@zash.se>
date Sat, 21 Feb 2015 10:45:24 +0100
parent 6753:33426c56f5d5
child 6857:86fcc3fa1a97
comparison
equal deleted inserted replaced
6779:6236668da30a 6780:647adfd8f738
69 local get, set = ztact.get, ztact.set; 69 local get, set = ztact.get, ztact.set;
70 70
71 local default_timeout = 15; 71 local default_timeout = 15;
72 72
73 -------------------------------------------------- module dns 73 -------------------------------------------------- module dns
74 module('dns') 74 local _ENV = nil;
75 local dns = _M; 75 local dns = {};
76 76
77 77
78 -- dns type & class codes ------------------------------ dns type & class codes 78 -- dns type & class codes ------------------------------ dns type & class codes
79 79
80 80