aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-07-10 12:05:51 -0400
committerjim-p <jimp@pfsense.org>2012-07-10 12:05:51 -0400
commitb85fee0718d37e8da27ab2530e311cf5ac6d7434 (patch)
tree11861d1a6cf69d3e548aa94cb779bf5c1977e1db
parent0497e75a950869bff748b336bfe21bd8b5ef006a (diff)
downloadpfsense-packages-b85fee0718d37e8da27ab2530e311cf5ac6d7434.tar.gz
pfsense-packages-b85fee0718d37e8da27ab2530e311cf5ac6d7434.tar.bz2
pfsense-packages-b85fee0718d37e8da27ab2530e311cf5ac6d7434.zip
Add some require_once bits here to ensure functions being called are present for all code paths.
-rw-r--r--config/openbgpd/openbgpd.inc3
-rw-r--r--config/openospfd/openospfd.inc3
-rw-r--r--config/quagga_ospfd/quagga_ospfd.inc3
3 files changed, 9 insertions, 0 deletions
diff --git a/config/openbgpd/openbgpd.inc b/config/openbgpd/openbgpd.inc
index b8cfbe2a..4a99dbc1 100644
--- a/config/openbgpd/openbgpd.inc
+++ b/config/openbgpd/openbgpd.inc
@@ -28,6 +28,9 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
+require_once("config.inc");
+require_once("functions.inc");
+require_once("service-utils.inc");
define('PKG_BGPD_CONFIG_BASE', '/var/etc/openbgpd');
diff --git a/config/openospfd/openospfd.inc b/config/openospfd/openospfd.inc
index bea9bf20..bc8826e1 100644
--- a/config/openospfd/openospfd.inc
+++ b/config/openospfd/openospfd.inc
@@ -26,6 +26,9 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
+require_once("config.inc");
+require_once("functions.inc");
+require_once("service-utils.inc");
function ospfd_display_friendlyiface () {
global $evaledvar, $config, $g;
diff --git a/config/quagga_ospfd/quagga_ospfd.inc b/config/quagga_ospfd/quagga_ospfd.inc
index 40d73786..d81ee3dc 100644
--- a/config/quagga_ospfd/quagga_ospfd.inc
+++ b/config/quagga_ospfd/quagga_ospfd.inc
@@ -27,6 +27,9 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
+require_once("config.inc");
+require_once("functions.inc");
+require_once("service-utils.inc");
define('PKG_QUAGGA_CONFIG_BASE', '/var/etc/quagga');