aboutsummaryrefslogtreecommitdiffstats
path: root/awall/modules/nat.lua
diff options
context:
space:
mode:
Diffstat (limited to 'awall/modules/nat.lua')
-rw-r--r--awall/modules/nat.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/awall/modules/nat.lua b/awall/modules/nat.lua
index 4a1984b..51d8446 100644
--- a/awall/modules/nat.lua
+++ b/awall/modules/nat.lua
@@ -1,6 +1,6 @@
--[[
NAT module for Alpine Wall
-Copyright (C) 2012 Kaarle Ritvanen
+Copyright (C) 2012-2013 Kaarle Ritvanen
Licensed under the terms of GPL2
]]--
@@ -76,5 +76,7 @@ function SNATRule:init(...)
end
-classes = {{'dnat', DNATRule},
- {'snat', SNATRule}}
+export = {
+ dnat={class=DNATRule},
+ snat={class=SNATRule}
+}