diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-08 22:12:59 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-08 22:12:59 +0000 |
commit | c0767995e3d9fac755af4738d5227def0a9a3f78 (patch) | |
tree | e3dafb1fd4d47883b611a4f96bd2473bd2864dd5 /packages | |
parent | 3211e85f2367642e9732565c1dedbc5abed28cf2 (diff) | |
download | pfsense-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.xml | 1 |
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); |