aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-19 21:03:28 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-19 21:03:28 +0000
commit21d621b2cf790c8a1cf0f6f1e37ba9542eb2b594 (patch)
treec48b10015836bd9dce43c0c5c932d16b9994ac61 /packages
parentd35e785f58e5c1f8381c5a7ce289ba3d3aa0de03 (diff)
downloadpfsense-packages-21d621b2cf790c8a1cf0f6f1e37ba9542eb2b594.tar.gz
pfsense-packages-21d621b2cf790c8a1cf0f6f1e37ba9542eb2b594.tar.bz2
pfsense-packages-21d621b2cf790c8a1cf0f6f1e37ba9542eb2b594.zip
Bring UPNPD up to speed. Package work done mostly by databeestje
Diffstat (limited to 'packages')
-rw-r--r--packages/upnpd.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/upnpd.inc b/packages/upnpd.inc
index e4960439..cd3044ea 100644
--- a/packages/upnpd.inc
+++ b/packages/upnpd.inc
@@ -17,6 +17,8 @@
fwrite($fout, "#!/bin/sh\n# This package was automatically generated\n# by the pfSense package system.\n\n");
fwrite($fout, "# PACKAGE: UPNP\n");
fwrite($fout, "# EXECUTABLE: upnpd\n\n");
+ fwrite($fout, "/sbin/route add -net 239.0.0.0 -iface {$lanif}\n\n");
+ fwrite($fout, "# Start package\n");
fwrite($fout, "/usr/local/bin/upnpd {$wanif} {$lanif}");
fclose($fout);
chmod("/usr/local/etc/rc.d/upnpd.sh", 0755);