diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-09-25 03:10:09 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-09-25 03:10:09 +0000 |
commit | 45d392d94368646a74961c2bede8267d9ab71884 (patch) | |
tree | 96339c9be25af795411e9dbdb0fe636dd3c5fa7b | |
parent | 63f9c373e60e1c38ecc03426ba742423cd9698e6 (diff) | |
download | pfsense-packages-45d392d94368646a74961c2bede8267d9ab71884.tar.gz pfsense-packages-45d392d94368646a74961c2bede8267d9ab71884.tar.bz2 pfsense-packages-45d392d94368646a74961c2bede8267d9ab71884.zip |
Set oinkmaster code from package configuration
-rw-r--r-- | packages/snort/snort_download_rules.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/snort/snort_download_rules.php b/packages/snort/snort_download_rules.php index 3558ee8b..322e3f5e 100644 --- a/packages/snort/snort_download_rules.php +++ b/packages/snort/snort_download_rules.php @@ -91,7 +91,8 @@ include("head.inc"); <?php /* define oinkid */ -$oinkid = ""; +if($config['installedpackages']['snort']) + $oinkid = $config['installedpackages']['snort']['config'][0]['oinkmastercode']; if(!$oinkid) { $static_output = gettext("You must obtain an oinkid from snort.com and set its value in the Snort settings tab."); |