diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2010-03-01 12:00:27 +0100 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2010-03-01 12:00:27 +0100 |
commit | 84d07e675f1c26c98cf459a8f6f7107d67a438f2 (patch) | |
tree | 28d933336ad3f7751af6732352d1ccbe3a4055b5 /etc/inc/system.inc | |
parent | c6e1b0f5efa81ba7bef267551b7013916611049a (diff) | |
download | pfsense-84d07e675f1c26c98cf459a8f6f7107d67a438f2.zip pfsense-84d07e675f1c26c98cf459a8f6f7107d67a438f2.tar.gz |
Mute route delete message, regenerate resolv.conf as this also corrects static routes to the DNS servers.
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 88dcbe3..9a9598c 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -134,7 +134,7 @@ function system_resolvconf_generate($dynupdate = false) { if(is_ipaddr($gatewayip)) { /* dns server array starts at 0 */ $dnscountermo = $dnscounter - 1; - mwexec("route delete -host {$syscfg['dnsserver'][$dnscountermo]}"); + mwexec("route delete -host {$syscfg['dnsserver'][$dnscountermo]}", true); mwexec("route add -host {$syscfg['dnsserver'][$dnscountermo]} {$gatewayip}"); } } |