summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-12-06 11:39:29 -0200
committerRenato Botelho <garga@FreeBSD.org>2013-12-06 11:39:29 -0200
commit77a341a458d604287f46180db1facbdb540cd139 (patch)
tree369ac305a311b752aa96fbc327729b75e3f2bd73 /etc/rc.bootup
parent09e14acf5b7b0fcb4f0404c0474a6a268c4bf60e (diff)
downloadpfsense-77a341a458d604287f46180db1facbdb540cd139.zip
pfsense-77a341a458d604287f46180db1facbdb540cd139.tar.gz
Add a knob to prefer IPv4 over IPv6, it fixes #2833
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-xetc/rc.bootup3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index 89a2be7..f391a27 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -409,6 +409,9 @@ upnp_start();
/* If powerd is enabled, lets launch it */
activate_powerd();
+/* Set preferred protocol */
+prefer_ipv4_or_ipv6();
+
/* Remove the old shutdown binary if we kept it. */
if (file_exists("/sbin/shutdown.old"))
@unlink("/sbin/shutdown.old");
OpenPOWER on IntegriCloud