summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-11-01 15:09:11 -0400
committerjim-p <jimp@pfsense.org>2011-11-01 15:09:11 -0400
commit54d1a165d500225547337ddba7aa10e7e5f79c98 (patch)
tree78920e986e7c716327925180929772d284e71e28
parent5cf747912ef5bf753c9fe489bb14408ffbce7c9a (diff)
downloadpfsense-54d1a165d500225547337ddba7aa10e7e5f79c98.zip
pfsense-54d1a165d500225547337ddba7aa10e7e5f79c98.tar.gz
Relayd expects send/expect arguments to be quoted strings. (And expect must be a pattern, not just a partial string)
-rw-r--r--etc/inc/vslb.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/vslb.inc b/etc/inc/vslb.inc
index e62a49a..fc00d3d 100644
--- a/etc/inc/vslb.inc
+++ b/etc/inc/vslb.inc
@@ -108,11 +108,11 @@ class SendMonitor extends Monitor {
private function data() {
- return $this->config('send') != "" ? "{$this->config('send')}" : "";
+ return $this->config('send') != "" ? "\"{$this->config('send')}\"" : "\"\"";
}
private function pattern() {
- return $this->config('expect') != "" ? "{$this->config('expect')}" : "";
+ return $this->config('expect') != "" ? "\"{$this->config('expect')}\"" : "\"\"";
}
private function ssl() {
OpenPOWER on IntegriCloud