From 2ccf90eb4681868c8de2ca22d8d9b8a90596d0ac Mon Sep 17 00:00:00 2001 From: Seth Mos Date: Thu, 6 Nov 2008 15:27:50 +0000 Subject: Surpress default route deletion --- etc/inc/interfaces.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- cgit v1.1