aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-08 22:12:59 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-08 22:12:59 +0000
commitc0767995e3d9fac755af4738d5227def0a9a3f78 (patch)
treee3dafb1fd4d47883b611a4f96bd2473bd2864dd5 /packages
parent3211e85f2367642e9732565c1dedbc5abed28cf2 (diff)
downloadpfsense-packages-c0767995e3d9fac755af4738d5227def0a9a3f78.tar.gz
pfsense-packages-c0767995e3d9fac755af4738d5227def0a9a3f78.tar.bz2
pfsense-packages-c0767995e3d9fac755af4738d5227def0a9a3f78.zip
We're in a function now, mark our global $config and $g
Diffstat (limited to 'packages')
-rw-r--r--packages/upnpd.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/upnpd.xml b/packages/upnpd.xml
index df99cef6..c4e8eb95 100644
--- a/packages/upnpd.xml
+++ b/packages/upnpd.xml
@@ -6,6 +6,7 @@
</custom_php_command_before_form>
<custom_php_resync_config_command>
function sync_upnp() {
+ global $config, $g;
$lanif = $config['interfaces']['lan']['if'];
$wanif = get_real_wan_interface();
$lanip = find_interface_ip($lanif);