aboutsummaryrefslogtreecommitdiffstats
path: root/config/quagga_ospfd/quagga_ospfd.inc
diff options
context:
space:
mode:
authorJohn Grange <john@sd-networks.net>2012-05-28 19:38:43 -0700
committerJohn Grange <john@sd-networks.net>2012-05-28 19:38:43 -0700
commitfc5bf06ee85e1783eed5a570c4d2c5eb47adc936 (patch)
tree09f90ec3454996e81b4c3a48c42d3a1d1c83d7d6 /config/quagga_ospfd/quagga_ospfd.inc
parent0098b559c1dff219f982690c15b365c814c5d787 (diff)
downloadpfsense-packages-fc5bf06ee85e1783eed5a570c4d2c5eb47adc936.tar.gz
pfsense-packages-fc5bf06ee85e1783eed5a570c4d2c5eb47adc936.tar.bz2
pfsense-packages-fc5bf06ee85e1783eed5a570c4d2c5eb47adc936.zip
Add option to redistribute kernel routing table
Quagga "redistribute static" behaves differently than ospfd redistribute static = only quagga static routes (in zebra) redistribute kernel = outside routes (from pfsense) Signed-off-by: John Grange <john@sd-networks.net>
Diffstat (limited to 'config/quagga_ospfd/quagga_ospfd.inc')
-rw-r--r--config/quagga_ospfd/quagga_ospfd.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/quagga_ospfd/quagga_ospfd.inc b/config/quagga_ospfd/quagga_ospfd.inc
index 4b7e007e..ab251825 100644
--- a/config/quagga_ospfd/quagga_ospfd.inc
+++ b/config/quagga_ospfd/quagga_ospfd.inc
@@ -149,6 +149,10 @@ function quagga_ospfd_install_conf() {
if ($ospfd_conf['redistributestatic'])
$conffile .= " redistribute static\n";
+
+ if ($ospfd_conf['redistributekernel'])
+ $conffile .= " redistribute kernel\n";
+
if ($ospfd_conf['redistributedefaultroute'])
$conffile .= " default-information originate\n";