summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rc.inet14
1 files changed, 4 insertions, 0 deletions
diff --git a/rc.inet1 b/rc.inet1
index 5b210a0..1e3752a 100644
--- a/rc.inet1
+++ b/rc.inet1
@@ -292,6 +292,10 @@ if_up() {
echo "/etc/rc.d/rc.inet1: /sbin/ip link set dev ${1} promisc on" | $LOGGER
/sbin/ip link set dev ${1} promisc on
fi
+ # Some settings need a small time to come into effect on the interface.
+ # This mostly affects IPv6, which needs time to make the interfaces available for the
+ # daemons to bind() - without this delay, they fail to bind() v6 addresses.
+ sleep 3
fi
else
debug_log "${1} is already up, skipping"