bird: don't export static routes to kernel
This commit is contained in:
parent
412a63dc6c
commit
f43775fc02
1 changed files with 2 additions and 2 deletions
|
@ -16,14 +16,14 @@ protocol direct {
|
|||
protocol kernel kernel4 {
|
||||
ipv4 {
|
||||
import all;
|
||||
export where source != RTS_DEVICE;
|
||||
export where source !~ [ RTS_DEVICE, RTS_STATIC ];
|
||||
};
|
||||
}
|
||||
|
||||
protocol kernel kernel6 {
|
||||
ipv6 {
|
||||
import all;
|
||||
export where source != RTS_DEVICE;
|
||||
export where source !~ [ RTS_DEVICE, RTS_STATIC ];
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue