diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-12-05 17:04:07 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-12-05 17:04:07 -0200 |
commit | 56c6993c26946ce724dd00c41a4464a26bfebad4 (patch) | |
tree | caa181a056323bd6cbeff4632346380e7237a885 /etc | |
parent | 6d744cc842058a2ff35c82700cce71a2f5eaae41 (diff) | |
download | pfsense-56c6993c26946ce724dd00c41a4464a26bfebad4.zip pfsense-56c6993c26946ce724dd00c41a4464a26bfebad4.tar.gz |
Call filter_configure_sync() is a better fix for #4066, as pointed by Ermal
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.newwanip | 5 |
1 files changed, 2 insertions, 3 deletions
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); |