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:12:52 -0400 |
commit | 146a1717c699249e021301a41d3d2c798ca71900 (patch) | |
tree | 7cf81306f3443f25bc3cbc2cc8d25852aea086a4 /etc/inc/vslb.inc | |
parent | 196d00856dfb5b24a829b4d9555fac378b696c42 (diff) | |
download | pfsense-146a1717c699249e021301a41d3d2c798ca71900.zip pfsense-146a1717c699249e021301a41d3d2c798ca71900.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/vslb.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() { |