Skip to content

Commit

Permalink
block redistributing statics into kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
natesales committed Nov 8, 2020
1 parent b263edb commit 9096125
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/global.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ protocol direct { ipv4; ipv6; }
protocol kernel {
scan time 10;
{{ if .OriginSet4 -}}
ipv4 { export all; };
ipv4 { export where (source != RTS_STATIC); };
{{- else }}
ipv4 { export none; };
{{ end }}
Expand All @@ -54,7 +54,7 @@ protocol kernel {
protocol kernel {
scan time 10;
{{ if .OriginSet6 -}}
ipv6 { export all; };
ipv6 { export where (source != RTS_STATIC); };
{{- else }}
ipv6 { export none; };
{{ end }}
Expand Down

0 comments on commit 9096125

Please sign in to comment.