|
@@ -22,8 +22,15 @@ protocol kernel {
|
|
|
scan time 20; # Scan kernel routing table every 20 seconds
|
|
|
|
|
|
import none;
|
|
|
- # Do NOT export local unreachable routes for TE purposes
|
|
|
- export where proto != "ffho_te";
|
|
|
+ export filter {
|
|
|
+ # Do NOT export local unreachable routes for TE purposes
|
|
|
+ if proto = "ffho_te" then
|
|
|
+ reject;
|
|
|
+
|
|
|
+ # Export routes with source address set to loopback IP
|
|
|
+ krt_prefsrc = LO_IP;
|
|
|
+ accept;
|
|
|
+ };
|
|
|
}
|
|
|
|
|
|
|