summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-03-12 15:24:08 +0000
committerErmal <eri@pfsense.org>2010-03-12 15:24:08 +0000
commiteb438fac1ee705c44e18c248a585ecfb3bb93ebb (patch)
treefa1d9403984f856b53f72e46f318151e35add293 /etc/inc/vpn.inc
parentd0412d85d9c9eb17cc9723fe6cdb26138eced15a (diff)
downloadpfsense-eb438fac1ee705c44e18c248a585ecfb3bb93ebb.zip
pfsense-eb438fac1ee705c44e18c248a585ecfb3bb93ebb.tar.gz
Only fetch inet family routes.
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r--etc/inc/vpn.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index f099f93..26631d7 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -153,7 +153,7 @@ function vpn_ipsec_configure($ipchg = false)
mwexec("/sbin/sysctl net.inet.ip.fastforwarding=0");
/* this loads a route table which is used to determine if a route needs to be removed. */
- exec("/usr/bin/netstat -rn", $route_arr, $retval);
+ exec("/usr/bin/netstat -rnf inet", $route_arr, $retval);
$route_str = implode("\n", $route_arr);
/* resolve all local, peer addresses and setup pings */
OpenPOWER on IntegriCloud