vici: Add redirect command
This allows redirecting IKE_SAs by multiple different selectors, if none are given all SAs are redirected.
This commit is contained in:
@@ -504,6 +504,12 @@ module Vici
|
||||
"control-log", &block))
|
||||
end
|
||||
|
||||
##
|
||||
# Redirect an IKE_SA.
|
||||
def redirect(options)
|
||||
check_success(@transp.request("redirect", Message.new(options)))
|
||||
end
|
||||
|
||||
##
|
||||
# Install a shunt/route policy.
|
||||
def install(policy)
|
||||
|
||||
Reference in New Issue
Block a user