From 56c6993c26946ce724dd00c41a4464a26bfebad4 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Fri, 5 Dec 2014 17:04:07 -0200 Subject: Call filter_configure_sync() is a better fix for #4066, as pointed by Ermal --- etc/rc.newwanip | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'etc') diff --git a/etc/rc.newwanip b/etc/rc.newwanip index 864d987..56c2453 100755 --- a/etc/rc.newwanip +++ b/etc/rc.newwanip @@ -198,13 +198,12 @@ if (!is_ipaddr($oldip) || $curwanip != $oldip || !is_ipaddrv4($config['interface } /* - * XXX: Some services (e.g. dyndns, see ticket #4066) depends of + * Some services (e.g. dyndns, see ticket #4066) depends of * filter_configure() to be called before, otherwise pass out * route-to rules have the old ip set in 'from' and connection * do not go through correct link */ - filter_configure(); - sleep(1); + filter_configure_sync(); /* reconfigure static routes (kernel may have deleted them) */ system_routing_configure($interface); -- cgit v1.1