summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-11-06 15:27:50 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-11-06 15:27:50 +0000
commit2ccf90eb4681868c8de2ca22d8d9b8a90596d0ac (patch)
tree04400c617c14bb2f19d3228da1fe3ebec1dac1fc /etc/inc/interfaces.inc
parenta7ddc5398d4cd06658871d41572b06e4b4324871 (diff)
downloadpfsense-2ccf90eb4681868c8de2ca22d8d9b8a90596d0ac.zip
pfsense-2ccf90eb4681868c8de2ca22d8d9b8a90596d0ac.tar.gz
Surpress default route deletion
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 059594c..094badf 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -905,7 +905,7 @@ function interfaces_wan_configure() {
escapeshellarg($wancfg['ipaddr'] . "/" . $wancfg['subnet']));
}
/* install default route */
- mwexec("/sbin/route delete default");
+ mwexec("/sbin/route delete default", true);
$dont_add_route = false;
/* if OLSRD is enabled, allow WAN to house DHCP. */
OpenPOWER on IntegriCloud