summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-08-11 10:30:43 +0000
committerErmal Luçi <eri@pfsense.org>2009-08-11 10:30:43 +0000
commitfe9afce65fc36f278e18edf8959669de2e9ddeef (patch)
tree8bc4ad326f9ea605c30b772e371530886f28c111 /etc
parentb6494651b0b049919495a7aa0f8e0093a9227f5c (diff)
downloadpfsense-fe9afce65fc36f278e18edf8959669de2e9ddeef.zip
pfsense-fe9afce65fc36f278e18edf8959669de2e9ddeef.tar.gz
Add a compat function after renaming tdr_install_cron to filter_tdr_install_cron with a warning for the renaming.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index a7092c1..598ee42 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1888,6 +1888,12 @@ function filter_rules_spoofcheck_generate($ifname, $if, $sa, $sn, $log)
return $ipfrules;
}
+/* COMPAT Function */
+function tdr_install_cron($should_install) {
+ log_error("Please use filter_tdr_install_cron() function tdr_install_cron will be deprecated!");
+ filter_tdr_install_cron($should_install);
+}
+
/****f* filter/filter_tdr_install_cron
* NAME
* filter_tdr_install_cron
OpenPOWER on IntegriCloud