更新了缓冲区设置选项,并修复了部分错误
This commit is contained in:
@@ -2,12 +2,16 @@ include "/etc/bird/vars.conf";
|
||||
include "/etc/bird/function/*.conf";
|
||||
include "/etc/bird/conf/*.conf";
|
||||
|
||||
log "/var/log/bird.log" {info, warning, error};
|
||||
|
||||
protocol device {
|
||||
scan time 10;
|
||||
}
|
||||
};
|
||||
|
||||
protocol kernel {
|
||||
scan time 20;
|
||||
merge paths yes limit 4;
|
||||
netlink rx buffer 8388608;
|
||||
ipv6 {
|
||||
import none;
|
||||
export filter {
|
||||
@@ -23,11 +27,12 @@ protocol kernel {
|
||||
|
||||
protocol kernel {
|
||||
scan time 20;
|
||||
merge paths yes limit 4;
|
||||
ipv4 {
|
||||
import none;
|
||||
export filter {
|
||||
if source = RTS_STATIC then reject;
|
||||
if unet_is_valid_network_v4() then { # 检查UNET自有网段
|
||||
if unet_is_valid_network_v4() then {
|
||||
krt_prefsrc = UNET_V4_kernel;
|
||||
accept;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user