Skip to content

Commit

Permalink
Merge pull request #90 from telekom/fix/iptables-interface-regex
Browse files Browse the repository at this point in the history
Fix Interface Regex for IPtables sync
  • Loading branch information
chdxD1 committed Jan 4, 2024
2 parents 171856c + 7c8a1b8 commit e48f396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/notrack/notrack.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var (
notrackLog = ctrl.Log.WithName("notrack")

rulesRegex = regexp.MustCompile(`--comment "?nwop:notrack"?`)
inputInterfaceRegex = regexp.MustCompile(`-i "?([a-zA-Z0-9._]*)"?`)
inputInterfaceRegex = regexp.MustCompile(`-i "?([a-zA-Z0-9._-]*)"?`)
notrackLinkPrefixes = []string{"vr."}
)

Expand Down

0 comments on commit e48f396

Please sign in to comment.