summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2013-10-09 21:10:51 +0000
committerTed Trask <ttrask01@yahoo.com>2013-10-09 21:10:51 +0000
commit31e61f1805982e6368bc77703e161af674c7687c (patch)
tree500210ed78d4814c5cb1b21aadfad1297f9878c4
parent477320d9bc396a63e90362463172dd774cb5fbbd (diff)
downloadacf-quagga-31e61f1805982e6368bc77703e161af674c7687c.tar.bz2
acf-quagga-31e61f1805982e6368bc77703e161af674c7687c.tar.xz
Change use of require to work with Lua 5.2
-rw-r--r--bgp-model.lua2
-rw-r--r--ospf-model.lua2
-rw-r--r--zebra-model.lua2
3 files changed, 3 insertions, 3 deletions
diff --git a/bgp-model.lua b/bgp-model.lua
index faa29ae..88badc6 100644
--- a/bgp-model.lua
+++ b/bgp-model.lua
@@ -1,7 +1,7 @@
module(..., package.seeall)
-- Load libraries
-require("modelfunctions")
+modelfunctions = require("modelfunctions")
format = require("acf.format")
-- Set variables
diff --git a/ospf-model.lua b/ospf-model.lua
index ae1c74d..383050b 100644
--- a/ospf-model.lua
+++ b/ospf-model.lua
@@ -1,7 +1,7 @@
module(..., package.seeall)
-- Load libraries
-require("modelfunctions")
+modelfunctions = require("modelfunctions")
format = require("acf.format")
-- Set variables
diff --git a/zebra-model.lua b/zebra-model.lua
index fc5b559..488e113 100644
--- a/zebra-model.lua
+++ b/zebra-model.lua
@@ -1,7 +1,7 @@
module(..., package.seeall)
-- Load libraries
-require("modelfunctions")
+modelfunctions = require("modelfunctions")
format = require("acf.format")
-- Set variables