diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-03-06 04:41:53 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-03-06 04:41:53 +0000 |
commit | 16ccd95cbb7ccf54a32e78290f0c626352327b71 (patch) | |
tree | 01497e7ceaeb6a3e883557b54553f55a09ee5472 /etc | |
parent | b21dd17d87ae65b45215df13125e9fbc4fce13ab (diff) | |
download | pfsense-16ccd95cbb7ccf54a32e78290f0c626352327b71.zip pfsense-16ccd95cbb7ccf54a32e78290f0c626352327b71.tar.gz |
Check if item exists before using.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/interfaces.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 2560869..555d02e 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -459,7 +459,8 @@ function interfaces_carp_configure() { mute_kernel_msgs(); } /* suck in configuration items */ - if($config['installedpackages']['carpsettings']['config']) { + if($config['installedpackages']['carpsettings']) + if($config['installedpackages']['carpsettings']['config']) { foreach($config['installedpackages']['carpsettings']['config'] as $carp) { $pfsyncenabled = $carp['pfsyncenabled']; $balanacing = $carp['balancing']; |