diff options
author | Renato Botelho <renato@netgate.com> | 2016-08-01 18:42:31 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-08-01 18:42:31 -0300 |
commit | 090fcccc4ec352b7db24c4882410870619bfed80 (patch) | |
tree | 4b5e2253249f07b540926214affbb0ee3a7361e9 | |
parent | 72693cbeaeac8debc13ed7c63b0e67526569714f (diff) | |
parent | 4aaf38742563c427b42a813387d84246ff20a2f2 (diff) | |
download | pfsense-090fcccc4ec352b7db24c4882410870619bfed80.zip pfsense-090fcccc4ec352b7db24c4882410870619bfed80.tar.gz |
Merge pull request #3077 from dhoffend/ticket-6505-fix
-rw-r--r-- | src/etc/inc/gwlb.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/gwlb.inc b/src/etc/inc/gwlb.inc index 3c58fc5..a71b0e4 100644 --- a/src/etc/inc/gwlb.inc +++ b/src/etc/inc/gwlb.inc @@ -100,7 +100,7 @@ function start_dpinger($gateway) { $prefix = "{$g['varrun_path']}/dpinger_{$gateway['name']}~" . "{$gateway['gwifip']}~{$gateway['monitor']}"; # dpinger socket path should not be longer then uaddr.sun_path - if (strlen($pidfile) > 95) { + if (strlen($prefix) > 95) { $prefix = "{$g['varrun_path']}/dpinger_{$gateway['name']}~" . substr(md5($gateway['gwifip']),0,8) . "~" . $gateway['monitor']; |