summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Larson <slioch@eng-140.vyatta.com>2008-01-30 11:50:05 -0800
committerMichael Larson <slioch@eng-140.vyatta.com>2008-01-30 11:50:05 -0800
commitad4a7086e81292e0aa76b98739356a02ff9873ed (patch)
tree04f9999cc3535d3a7416063cf1b0728ea99994ea
parent62b85bda5f9eb966c12f2a5351d18ab9d2a6baa6 (diff)
downloadvyatta-wanloadbalance-ad4a7086e81292e0aa76b98739356a02ff9873ed.tar.gz
vyatta-wanloadbalance-ad4a7086e81292e0aa76b98739356a02ff9873ed.zip
additional changes to go with last push
-rw-r--r--Makefile.am1
-rw-r--r--debian/vyatta-wanloadbalance.postinst5
-rw-r--r--debian/vyatta-wanloadbalance.postinst.in6
-rw-r--r--debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.def3
-rw-r--r--debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.tag/failure-count/node.def2
-rw-r--r--debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.tag/ping/node.def2
-rw-r--r--debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.tag/resp-time/node.def2
-rw-r--r--debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.tag/success-count/node.def2
-rw-r--r--debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.def2
-rw-r--r--debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/destination/address/node.def2
-rw-r--r--debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/destination/network/node.def2
-rw-r--r--debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/destination/port-name/node.def2
-rw-r--r--debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/destination/port-number/node.def2
-rw-r--r--debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/source/address/node.def2
-rw-r--r--debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/source/network/node.def2
-rw-r--r--debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/source/port-name/node.def2
-rw-r--r--debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/source/port-number/node.def2
-rw-r--r--debian/vyatta-wanloadbalance/usr/share/doc/vyatta-wanloadbalance/NEWS.gzbin57 -> 57 bytes
-rw-r--r--debian/vyatta-wanloadbalance/usr/share/doc/vyatta-wanloadbalance/changelog.Debian.gzbin165 -> 165 bytes
-rw-r--r--debian/vyatta-wanloadbalance/usr/share/doc/vyatta-wanloadbalance/changelog.gzbin416 -> 891 bytes
-rw-r--r--templates/load-balancing/wan/interface-health/node.def3
-rw-r--r--templates/load-balancing/wan/interface-health/node.tag/failure-count/node.def2
-rw-r--r--templates/load-balancing/wan/interface-health/node.tag/ping/node.def2
-rw-r--r--templates/load-balancing/wan/interface-health/node.tag/resp-time/node.def2
-rw-r--r--templates/load-balancing/wan/interface-health/node.tag/success-count/node.def2
-rw-r--r--templates/load-balancing/wan/rule/node.tag/destination/address/node.def2
-rw-r--r--templates/load-balancing/wan/rule/node.tag/destination/network/node.def2
-rw-r--r--templates/load-balancing/wan/rule/node.tag/destination/port-name/node.def2
-rw-r--r--templates/load-balancing/wan/rule/node.tag/destination/port-number/node.def2
-rw-r--r--templates/load-balancing/wan/rule/node.tag/source/address/node.def2
-rw-r--r--templates/load-balancing/wan/rule/node.tag/source/network/node.def2
-rw-r--r--templates/load-balancing/wan/rule/node.tag/source/port-name/node.def2
-rw-r--r--templates/load-balancing/wan/rule/node.tag/source/port-number/node.def2
33 files changed, 41 insertions, 27 deletions
diff --git a/Makefile.am b/Makefile.am
index 9341432..34f5ebf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -7,6 +7,7 @@ AM_CPPFLAGS = -I src -Wall -DDEBUG
CLEANFILES = src/main.o src/lbdata.o src/lbdatafactory.o src/loadbalance.o src/rl_str_proc.o src/lbpathtest.o src/lboutput.o
sbin_SCRIPTS = scripts/wlb.init
+sbin_SCRIPTS += scripts/vyatta-wanloadbalance.pl
src_wan_lb_SOURCES = src/main.cc
src_wan_lb_SOURCES += src/lbdata.cc
diff --git a/debian/vyatta-wanloadbalance.postinst b/debian/vyatta-wanloadbalance.postinst
index c1f08d6..df7abe7 100644
--- a/debian/vyatta-wanloadbalance.postinst
+++ b/debian/vyatta-wanloadbalance.postinst
@@ -1,6 +1,11 @@
#!/bin/bash
+LOADBALANCE_DIR=/var/load-balance
+
prefix=/opt/vyatta
sysconfdir=${prefix}/etc
+mkdir -p $LOADBALANCE_DIR
+chmod 0755 $LOADBALANCE_DIR
+
#nothing
diff --git a/debian/vyatta-wanloadbalance.postinst.in b/debian/vyatta-wanloadbalance.postinst.in
index 21218c2..dea57dc 100644
--- a/debian/vyatta-wanloadbalance.postinst.in
+++ b/debian/vyatta-wanloadbalance.postinst.in
@@ -1,6 +1,12 @@
#!/bin/bash
+LOADBALANCE_DIR=/var/load-balance
+
+
prefix=@prefix@
sysconfdir=@sysconfdir@
+mkdir -p $LOADBALANCE_DIR
+chmod 0755 $LOADBALANCE_DIR
+
#nothing
diff --git a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.def b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.def
index bdef076..254fc98 100644
--- a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.def
+++ b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.def
@@ -1,3 +1,4 @@
tag:
type: txt
-help: "Interface name" \ No newline at end of file
+help: "Interface name"
+
diff --git a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.tag/failure-count/node.def b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.tag/failure-count/node.def
index 19a7eec..288180f 100644
--- a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.tag/failure-count/node.def
+++ b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.tag/failure-count/node.def
@@ -1,2 +1,2 @@
type: u32
-help: "failure count" \ No newline at end of file
+help: "failure count"
diff --git a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.tag/ping/node.def b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.tag/ping/node.def
index a96486b..3240cb2 100644
--- a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.tag/ping/node.def
+++ b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.tag/ping/node.def
@@ -1,2 +1,2 @@
type: txt
-help: "health test destination" \ No newline at end of file
+help: "health test destination"
diff --git a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.tag/resp-time/node.def b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.tag/resp-time/node.def
index cda8120..730481f 100644
--- a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.tag/resp-time/node.def
+++ b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.tag/resp-time/node.def
@@ -1,2 +1,2 @@
type: u32
-help: "response time envelope" \ No newline at end of file
+help: "response time envelope"
diff --git a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.tag/success-count/node.def b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.tag/success-count/node.def
index 72b7a9d..721c1eb 100644
--- a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.tag/success-count/node.def
+++ b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/interface-health/node.tag/success-count/node.def
@@ -1,2 +1,2 @@
type: u32
-help: "success count" \ No newline at end of file
+help: "success count"
diff --git a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.def b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.def
index 6febf24..f61b10c 100644
--- a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.def
+++ b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.def
@@ -1,3 +1,3 @@
tag:
type: txt
-help: "Rule number" \ No newline at end of file
+help: "Rule number"
diff --git a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/destination/address/node.def b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/destination/address/node.def
index d1f1e4e..21c2670 100644
--- a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/destination/address/node.def
+++ b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/destination/address/node.def
@@ -1,2 +1,2 @@
type: ipv4
-help: "IPv4 address" \ No newline at end of file
+help: "IPv4 address"
diff --git a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/destination/network/node.def b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/destination/network/node.def
index 56643c8..dd0c650 100644
--- a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/destination/network/node.def
+++ b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/destination/network/node.def
@@ -1,2 +1,2 @@
type: ipv4net
-help: "IPv4 Network address" \ No newline at end of file
+help: "IPv4 Network address"
diff --git a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/destination/port-name/node.def b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/destination/port-name/node.def
index eb723b7..71558ec 100644
--- a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/destination/port-name/node.def
+++ b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/destination/port-name/node.def
@@ -1,3 +1,3 @@
tag:
type: txt
-help: "Port name" \ No newline at end of file
+help: "Port name"
diff --git a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/destination/port-number/node.def b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/destination/port-number/node.def
index 330f130..9a3680c 100644
--- a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/destination/port-number/node.def
+++ b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/destination/port-number/node.def
@@ -1,3 +1,3 @@
tag:
type: u32
-help: "Port number" \ No newline at end of file
+help: "Port number"
diff --git a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/source/address/node.def b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/source/address/node.def
index d1f1e4e..21c2670 100644
--- a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/source/address/node.def
+++ b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/source/address/node.def
@@ -1,2 +1,2 @@
type: ipv4
-help: "IPv4 address" \ No newline at end of file
+help: "IPv4 address"
diff --git a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/source/network/node.def b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/source/network/node.def
index f92f4ff..8d1a64d 100644
--- a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/source/network/node.def
+++ b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/source/network/node.def
@@ -1,2 +1,2 @@
type: ipv4net
-help: "IPv4 network address" \ No newline at end of file
+help: "IPv4 network address"
diff --git a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/source/port-name/node.def b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/source/port-name/node.def
index 2b10887..862c5a0 100644
--- a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/source/port-name/node.def
+++ b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/source/port-name/node.def
@@ -1,3 +1,3 @@
tag:
type: txt
-help: "port name" \ No newline at end of file
+help: "port name"
diff --git a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/source/port-number/node.def b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/source/port-number/node.def
index 29bf9d0..48908b1 100644
--- a/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/source/port-number/node.def
+++ b/debian/vyatta-wanloadbalance/opt/vyatta/share/vyatta-cfg/templates/load-balancing/wan/rule/node.tag/source/port-number/node.def
@@ -1,3 +1,3 @@
tag:
type: u32
-help: "port number" \ No newline at end of file
+help: "port number"
diff --git a/debian/vyatta-wanloadbalance/usr/share/doc/vyatta-wanloadbalance/NEWS.gz b/debian/vyatta-wanloadbalance/usr/share/doc/vyatta-wanloadbalance/NEWS.gz
index fa02106..4572a4f 100644
--- a/debian/vyatta-wanloadbalance/usr/share/doc/vyatta-wanloadbalance/NEWS.gz
+++ b/debian/vyatta-wanloadbalance/usr/share/doc/vyatta-wanloadbalance/NEWS.gz
Binary files differ
diff --git a/debian/vyatta-wanloadbalance/usr/share/doc/vyatta-wanloadbalance/changelog.Debian.gz b/debian/vyatta-wanloadbalance/usr/share/doc/vyatta-wanloadbalance/changelog.Debian.gz
index fddbb9d..5153a3f 100644
--- a/debian/vyatta-wanloadbalance/usr/share/doc/vyatta-wanloadbalance/changelog.Debian.gz
+++ b/debian/vyatta-wanloadbalance/usr/share/doc/vyatta-wanloadbalance/changelog.Debian.gz
Binary files differ
diff --git a/debian/vyatta-wanloadbalance/usr/share/doc/vyatta-wanloadbalance/changelog.gz b/debian/vyatta-wanloadbalance/usr/share/doc/vyatta-wanloadbalance/changelog.gz
index aa35fe3..6442577 100644
--- a/debian/vyatta-wanloadbalance/usr/share/doc/vyatta-wanloadbalance/changelog.gz
+++ b/debian/vyatta-wanloadbalance/usr/share/doc/vyatta-wanloadbalance/changelog.gz
Binary files differ
diff --git a/templates/load-balancing/wan/interface-health/node.def b/templates/load-balancing/wan/interface-health/node.def
index bdef076..254fc98 100644
--- a/templates/load-balancing/wan/interface-health/node.def
+++ b/templates/load-balancing/wan/interface-health/node.def
@@ -1,3 +1,4 @@
tag:
type: txt
-help: "Interface name" \ No newline at end of file
+help: "Interface name"
+
diff --git a/templates/load-balancing/wan/interface-health/node.tag/failure-count/node.def b/templates/load-balancing/wan/interface-health/node.tag/failure-count/node.def
index 19a7eec..288180f 100644
--- a/templates/load-balancing/wan/interface-health/node.tag/failure-count/node.def
+++ b/templates/load-balancing/wan/interface-health/node.tag/failure-count/node.def
@@ -1,2 +1,2 @@
type: u32
-help: "failure count" \ No newline at end of file
+help: "failure count"
diff --git a/templates/load-balancing/wan/interface-health/node.tag/ping/node.def b/templates/load-balancing/wan/interface-health/node.tag/ping/node.def
index a96486b..3240cb2 100644
--- a/templates/load-balancing/wan/interface-health/node.tag/ping/node.def
+++ b/templates/load-balancing/wan/interface-health/node.tag/ping/node.def
@@ -1,2 +1,2 @@
type: txt
-help: "health test destination" \ No newline at end of file
+help: "health test destination"
diff --git a/templates/load-balancing/wan/interface-health/node.tag/resp-time/node.def b/templates/load-balancing/wan/interface-health/node.tag/resp-time/node.def
index cda8120..730481f 100644
--- a/templates/load-balancing/wan/interface-health/node.tag/resp-time/node.def
+++ b/templates/load-balancing/wan/interface-health/node.tag/resp-time/node.def
@@ -1,2 +1,2 @@
type: u32
-help: "response time envelope" \ No newline at end of file
+help: "response time envelope"
diff --git a/templates/load-balancing/wan/interface-health/node.tag/success-count/node.def b/templates/load-balancing/wan/interface-health/node.tag/success-count/node.def
index 72b7a9d..721c1eb 100644
--- a/templates/load-balancing/wan/interface-health/node.tag/success-count/node.def
+++ b/templates/load-balancing/wan/interface-health/node.tag/success-count/node.def
@@ -1,2 +1,2 @@
type: u32
-help: "success count" \ No newline at end of file
+help: "success count"
diff --git a/templates/load-balancing/wan/rule/node.tag/destination/address/node.def b/templates/load-balancing/wan/rule/node.tag/destination/address/node.def
index d1f1e4e..21c2670 100644
--- a/templates/load-balancing/wan/rule/node.tag/destination/address/node.def
+++ b/templates/load-balancing/wan/rule/node.tag/destination/address/node.def
@@ -1,2 +1,2 @@
type: ipv4
-help: "IPv4 address" \ No newline at end of file
+help: "IPv4 address"
diff --git a/templates/load-balancing/wan/rule/node.tag/destination/network/node.def b/templates/load-balancing/wan/rule/node.tag/destination/network/node.def
index 56643c8..dd0c650 100644
--- a/templates/load-balancing/wan/rule/node.tag/destination/network/node.def
+++ b/templates/load-balancing/wan/rule/node.tag/destination/network/node.def
@@ -1,2 +1,2 @@
type: ipv4net
-help: "IPv4 Network address" \ No newline at end of file
+help: "IPv4 Network address"
diff --git a/templates/load-balancing/wan/rule/node.tag/destination/port-name/node.def b/templates/load-balancing/wan/rule/node.tag/destination/port-name/node.def
index eb723b7..71558ec 100644
--- a/templates/load-balancing/wan/rule/node.tag/destination/port-name/node.def
+++ b/templates/load-balancing/wan/rule/node.tag/destination/port-name/node.def
@@ -1,3 +1,3 @@
tag:
type: txt
-help: "Port name" \ No newline at end of file
+help: "Port name"
diff --git a/templates/load-balancing/wan/rule/node.tag/destination/port-number/node.def b/templates/load-balancing/wan/rule/node.tag/destination/port-number/node.def
index 330f130..9a3680c 100644
--- a/templates/load-balancing/wan/rule/node.tag/destination/port-number/node.def
+++ b/templates/load-balancing/wan/rule/node.tag/destination/port-number/node.def
@@ -1,3 +1,3 @@
tag:
type: u32
-help: "Port number" \ No newline at end of file
+help: "Port number"
diff --git a/templates/load-balancing/wan/rule/node.tag/source/address/node.def b/templates/load-balancing/wan/rule/node.tag/source/address/node.def
index d1f1e4e..21c2670 100644
--- a/templates/load-balancing/wan/rule/node.tag/source/address/node.def
+++ b/templates/load-balancing/wan/rule/node.tag/source/address/node.def
@@ -1,2 +1,2 @@
type: ipv4
-help: "IPv4 address" \ No newline at end of file
+help: "IPv4 address"
diff --git a/templates/load-balancing/wan/rule/node.tag/source/network/node.def b/templates/load-balancing/wan/rule/node.tag/source/network/node.def
index f92f4ff..8d1a64d 100644
--- a/templates/load-balancing/wan/rule/node.tag/source/network/node.def
+++ b/templates/load-balancing/wan/rule/node.tag/source/network/node.def
@@ -1,2 +1,2 @@
type: ipv4net
-help: "IPv4 network address" \ No newline at end of file
+help: "IPv4 network address"
diff --git a/templates/load-balancing/wan/rule/node.tag/source/port-name/node.def b/templates/load-balancing/wan/rule/node.tag/source/port-name/node.def
index 2b10887..862c5a0 100644
--- a/templates/load-balancing/wan/rule/node.tag/source/port-name/node.def
+++ b/templates/load-balancing/wan/rule/node.tag/source/port-name/node.def
@@ -1,3 +1,3 @@
tag:
type: txt
-help: "port name" \ No newline at end of file
+help: "port name"
diff --git a/templates/load-balancing/wan/rule/node.tag/source/port-number/node.def b/templates/load-balancing/wan/rule/node.tag/source/port-number/node.def
index 29bf9d0..48908b1 100644
--- a/templates/load-balancing/wan/rule/node.tag/source/port-number/node.def
+++ b/templates/load-balancing/wan/rule/node.tag/source/port-number/node.def
@@ -1,3 +1,3 @@
tag:
type: u32
-help: "port number" \ No newline at end of file
+help: "port number"