diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-08-16 21:02:46 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-08-16 21:02:46 +0000 |
commit | f5046bbca7a88493b9297791107d0eedeb8c55cc (patch) | |
tree | f8e65e5d4ae9e5b109d3e5ad327110fc7f27b545 /libs | |
parent | ef0be82b31e47b1c7e3b8efa6d798656036aa7b2 (diff) |
* luci/libs: uvl - cleanup round #3, flush lookup tables to prevent circular depency errors when reusing scheme instance
Diffstat (limited to 'libs')
-rw-r--r-- | libs/uvl/luasrc/uvl.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/uvl/luasrc/uvl.lua b/libs/uvl/luasrc/uvl.lua index da5784e59..0e32dc1e2 100644 --- a/libs/uvl/luasrc/uvl.lua +++ b/libs/uvl/luasrc/uvl.lua @@ -71,6 +71,7 @@ function UVL.validate( self, config ) self.uci.set_confdir( self.uci.confdir_default ) self.uci.load( config ) + self.beenthere = { } local co = self.uci.get_all( config ) @@ -110,6 +111,7 @@ end function UVL.validate_section( self, config, section ) self.uci.set_confdir( self.uci.confdir_default ) self.uci.load( config ) + self.beenthere = { } local co = self.uci.get_all( config ) if co[section] then @@ -125,6 +127,7 @@ end function UVL.validate_option( self, config, section, option ) self.uci.set_confdir( self.uci.confdir_default ) self.uci.load( config ) + self.beenthere = { } local co = self.uci.get_all( config ) if co[section] and co[section][option] then |