aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
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);