diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-05-08 21:14:45 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-05-08 21:14:45 +0000 |
commit | 10c6e7a88ddf8ed36d4744484c4ea9b00143b8fb (patch) | |
tree | 853eae575b2e5e76c2e9fbd35474b6ab86342bfe /etc/inc/services.inc | |
parent | bc15a1b95732bc2db50c6a733041d712f1e9d535 (diff) | |
download | pfsense-10c6e7a88ddf8ed36d4744484c4ea9b00143b8fb.zip pfsense-10c6e7a88ddf8ed36d4744484c4ea9b00143b8fb.tar.gz |
Unset default route if dynamic gateway support is enabled in OLSR
Diffstat (limited to 'etc/inc/services.inc')
-rw-r--r-- | etc/inc/services.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc index 75ef5fd..205ce65 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -1059,6 +1059,10 @@ EODC; } if($olsr['enabledyngw'] == "on") { + + /* unset default route, olsr auto negotiates */ + mwexec("/sbin/route delete default"); + $olsr .= <<<EODE LoadPlugin "/usr/local/lib/olsrd_dyn_gw.so.0.4" |