fix invalid syntax in fortiOS output
This commit is contained in:
parent
17cfaf377a
commit
2df2ec2ba9
@ -30,7 +30,7 @@ func config(redirects []Redirect) error {
|
||||
} else {
|
||||
ruleName = redirect.sourceURL
|
||||
}
|
||||
fmt.Println("set action redirect")
|
||||
fmt.Sprintf("edit \"%s\"\n", ruleName)
|
||||
fmt.Printf("set location %s\n", redirect.destinationURL)
|
||||
fmt.Println("set action redirect")
|
||||
fmt.Println("config match-condition")
|
||||
|
Loading…
Reference in New Issue
Block a user