Skip to content

Commit

Permalink
fix kernel import filters
Browse files Browse the repository at this point in the history
  • Loading branch information
natesales committed Mar 5, 2021
1 parent a7bfaa4 commit e9b81b1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions templates/global.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ protocol kernel {
{{ if .PrefSrc4 -}}
if source = RTS_STATIC then {
accept;
} else if source = RTS_BGP {
}
if source = RTS_BGP {
krt_prefsrc = {{ .PrefSrc4 }};
accept;
} else {
reject;
}
reject;
{{ else }}
accept;
{{ end }}
Expand All @@ -82,12 +82,12 @@ protocol kernel {
{{ if .PrefSrc6 -}}
if source = RTS_STATIC then {
accept;
} else if source = RTS_BGP {
}
if source = RTS_BGP {
krt_prefsrc = {{ .PrefSrc6 }};
accept;
} else {
reject;
}
reject;
{{ else }}
accept;
{{ end }}
Expand Down

0 comments on commit e9b81b1

Please sign in to comment.