summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--bgp-details-html.lsp2
-rw-r--r--bgp-model.lua6
-rw-r--r--bgp-welcome-html.lsp2
-rw-r--r--ospf-details-html.lsp2
-rw-r--r--ospf-model.lua6
-rw-r--r--ospf-welcome-html.lsp2
-rw-r--r--zebra-details-html.lsp2
-rw-r--r--zebra-model.lua6
-rw-r--r--zebra-welcome-html.lsp2
10 files changed, 16 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index 5092aac..1e728f2 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ APP_DIST=\
EXTRA_DIST=README Makefile config.mk
-DISTFILES=$(APP_DIST) $(EXTRA_DIST)
+DISTFILES=$(APP_DIST) $(EXTRA_DIST)
TAR=tar
diff --git a/bgp-details-html.lsp b/bgp-details-html.lsp
index ca70a7a..efdef45 100644
--- a/bgp-details-html.lsp
+++ b/bgp-details-html.lsp
@@ -3,7 +3,7 @@ html = require("acf.html")
htmlviewfunctions = require("htmlviewfunctions")
%>
-<% local header_level = htmlviewfunctions.displaysectionstart(data.value.showipbgp, page_info) %>
+<% local header_level = htmlviewfunctions.displaysectionstart(data.value.showipbgp, page_info) %>
<pre>
<%= html.html_escape(tostring(data.value.showipbgp.value)) %>
</pre>
diff --git a/bgp-model.lua b/bgp-model.lua
index 9333c05..5d98f40 100644
--- a/bgp-model.lua
+++ b/bgp-model.lua
@@ -19,7 +19,7 @@ local function parseconfigfile()
local conf = {}
local f = io.open(configfile, "r")
local line, key, _, k, v
-
+
if not f then
return nil
end
@@ -97,11 +97,11 @@ function mymodule.setconfigfile(self, filedetails)
return modelfunctions.setfiledetails(self, filedetails, {configfile})
end
-function mymodule.get_startstop(self, clientdata)
+function mymodule.get_startstop(self, clientdata)
return modelfunctions.get_startstop(processname)
end
-function mymodule.startstop_service(self, startstop, action)
+function mymodule.startstop_service(self, startstop, action)
return modelfunctions.startstop_service(startstop, action)
end
diff --git a/bgp-welcome-html.lsp b/bgp-welcome-html.lsp
index baf324a..ae3176d 100644
--- a/bgp-welcome-html.lsp
+++ b/bgp-welcome-html.lsp
@@ -1,4 +1,4 @@
-<% local data, viewlibrary, page_info, session = ...
+<% local data, viewlibrary, page_info, session = ...
%>
<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("status") then
diff --git a/ospf-details-html.lsp b/ospf-details-html.lsp
index 378589b..d2c6f9c 100644
--- a/ospf-details-html.lsp
+++ b/ospf-details-html.lsp
@@ -3,7 +3,7 @@ html = require("acf.html")
htmlviewfunctions = require("htmlviewfunctions")
%>
-<% local header_level = htmlviewfunctions.displaysectionstart(data.value.showip, page_info) %>
+<% local header_level = htmlviewfunctions.displaysectionstart(data.value.showip, page_info) %>
<pre>
<%= html.html_escape(tostring(data.value.showip.value)) %>
</pre>
diff --git a/ospf-model.lua b/ospf-model.lua
index ebe82b7..f8473e5 100644
--- a/ospf-model.lua
+++ b/ospf-model.lua
@@ -19,7 +19,7 @@ local function parseconfigfile()
local conf = {}
local f = io.open(configfile, "r")
local line, key, _, k, v
-
+
if not f then
return nil
end
@@ -83,11 +83,11 @@ end
-- ################################################################################
-- PUBLIC FUNCTIONS
-function mymodule.get_startstop(self, clientdata)
+function mymodule.get_startstop(self, clientdata)
return modelfunctions.get_startstop(processname)
end
-function mymodule.startstop_service(self, startstop, action)
+function mymodule.startstop_service(self, startstop, action)
return modelfunctions.startstop_service(startstop, action)
end
diff --git a/ospf-welcome-html.lsp b/ospf-welcome-html.lsp
index baf324a..ae3176d 100644
--- a/ospf-welcome-html.lsp
+++ b/ospf-welcome-html.lsp
@@ -1,4 +1,4 @@
-<% local data, viewlibrary, page_info, session = ...
+<% local data, viewlibrary, page_info, session = ...
%>
<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("status") then
diff --git a/zebra-details-html.lsp b/zebra-details-html.lsp
index 378589b..d2c6f9c 100644
--- a/zebra-details-html.lsp
+++ b/zebra-details-html.lsp
@@ -3,7 +3,7 @@ html = require("acf.html")
htmlviewfunctions = require("htmlviewfunctions")
%>
-<% local header_level = htmlviewfunctions.displaysectionstart(data.value.showip, page_info) %>
+<% local header_level = htmlviewfunctions.displaysectionstart(data.value.showip, page_info) %>
<pre>
<%= html.html_escape(tostring(data.value.showip.value)) %>
</pre>
diff --git a/zebra-model.lua b/zebra-model.lua
index 07950a0..cba6eb9 100644
--- a/zebra-model.lua
+++ b/zebra-model.lua
@@ -19,7 +19,7 @@ local function parseconfigfile()
local conf = {}
local f = io.open(configfile, "r")
local line, key, _, k, v
-
+
if not f then
return nil
end
@@ -86,11 +86,11 @@ end
-- ################################################################################
-- PUBLIC FUNCTIONS
-function mymodule.get_startstop(self, clientdata)
+function mymodule.get_startstop(self, clientdata)
return modelfunctions.get_startstop(processname)
end
-function mymodule.startstop_service(self, startstop, action)
+function mymodule.startstop_service(self, startstop, action)
return modelfunctions.startstop_service(startstop, action)
end
diff --git a/zebra-welcome-html.lsp b/zebra-welcome-html.lsp
index baf324a..ae3176d 100644
--- a/zebra-welcome-html.lsp
+++ b/zebra-welcome-html.lsp
@@ -1,4 +1,4 @@
-<% local data, viewlibrary, page_info, session = ...
+<% local data, viewlibrary, page_info, session = ...
%>
<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("status") then