Project

General

Profile

« Previous | Next » 

Revision 2731ebc8

Added by Seth Mos over 16 years ago

Correct path to netstat

View differences:

etc/inc/system.inc
201 201
	if(isset($config['staticroutes']['enablefastrouting']))
202 202
		mwexec("/sbin/sysctl net.inet.ip.fastforwarding=1");
203 203

  
204
	exec("/sbin/netstat -rn", $route_arr, $retval);
204
	exec("/usr/bin/netstat -rn", $route_arr, $retval);
205 205
	$route_str = implode("\n", $route_arr);
206 206

  
207 207
	/* clear out old routes, if necessary */

Also available in: Unified diff