diff options
author | Michael Larson <mike@ft1.vyatta.com> | 2009-09-29 09:29:29 -0700 |
---|---|---|
committer | Michael Larson <mike@ft1.vyatta.com> | 2009-09-29 09:29:29 -0700 |
commit | 46d57d69bfbdfc48d291dbf4d913560d8084a4f1 (patch) | |
tree | a990a105144f05db04f29f1d89f3de5de45fd4d2 /templates/load-balancing | |
parent | c7a65df14e51fd04e857039f0c282f1f7cb3b8d0 (diff) | |
download | vyatta-wanloadbalance-46d57d69bfbdfc48d291dbf4d913560d8084a4f1.tar.gz vyatta-wanloadbalance-46d57d69bfbdfc48d291dbf4d913560d8084a4f1.zip |
fix for ppp type interfaces that use the wanlb dhcp configuration option.
Diffstat (limited to 'templates/load-balancing')
-rw-r--r-- | templates/load-balancing/wan/interface-health/node.def | 10 | ||||
-rw-r--r-- | templates/load-balancing/wan/rule/node.tag/interface/node.def | 10 |
2 files changed, 0 insertions, 20 deletions
diff --git a/templates/load-balancing/wan/interface-health/node.def b/templates/load-balancing/wan/interface-health/node.def index 24a05c0..d393140 100644 --- a/templates/load-balancing/wan/interface-health/node.def +++ b/templates/load-balancing/wan/interface-health/node.def @@ -1,13 +1,3 @@ tag: type: txt help: Set interface name -syntax:expression: exec " \ - if [ -z \"`ip link | grep $VAR(@)`\" ]; then \ - echo Invalid interface [$VAR(@)]; \ - exit 1 ; \ - fi ; " -allowed: for dev in /sys/class/net/*; - do if [[ ! $dev =~ "net/lo" ]]; then - echo -n ${dev##*/} " " - fi - done diff --git a/templates/load-balancing/wan/rule/node.tag/interface/node.def b/templates/load-balancing/wan/rule/node.tag/interface/node.def index 24a05c0..d393140 100644 --- a/templates/load-balancing/wan/rule/node.tag/interface/node.def +++ b/templates/load-balancing/wan/rule/node.tag/interface/node.def @@ -1,13 +1,3 @@ tag: type: txt help: Set interface name -syntax:expression: exec " \ - if [ -z \"`ip link | grep $VAR(@)`\" ]; then \ - echo Invalid interface [$VAR(@)]; \ - exit 1 ; \ - fi ; " -allowed: for dev in /sys/class/net/*; - do if [[ ! $dev =~ "net/lo" ]]; then - echo -n ${dev##*/} " " - fi - done |