diff options
author | jim-p <jimp@pfsense.org> | 2011-11-01 15:09:11 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-11-01 15:09:11 -0400 |
commit | 54d1a165d500225547337ddba7aa10e7e5f79c98 (patch) | |
tree | 78920e986e7c716327925180929772d284e71e28 /etc/inc | |
parent | 5cf747912ef5bf753c9fe489bb14408ffbce7c9a (diff) | |
download | pfsense-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)
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/vslb.inc | 4 |
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() { |