From eb438fac1ee705c44e18c248a585ecfb3bb93ebb Mon Sep 17 00:00:00 2001 From: Ermal Date: Fri, 12 Mar 2010 15:24:08 +0000 Subject: Only fetch inet family routes. --- etc/inc/system.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/inc/system.inc') diff --git a/etc/inc/system.inc b/etc/inc/system.inc index c5329f2..d5ff189 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -255,7 +255,7 @@ function system_routing_configure() { if(isset($config['staticroutes']['enablefastrouting'])) mwexec("/sbin/sysctl net.inet.ip.fastforwarding=1"); - $route_str = exec_command("/usr/bin/netstat -rn"); + $route_str = exec_command("/usr/bin/netstat -rnf inet"); /* clear out old routes, if necessary */ if (file_exists("{$g['vardb_path']}/routes.db")) { -- cgit v1.1