mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-03 00:00:24 -04:00
updown: Don't call the script for per-CPU SAs
Rules are installed for the fallback SA that has no CPU ID assigned.
This commit is contained in:
parent
297be45275
commit
3a8bb93761
@ -435,6 +435,11 @@ METHOD(listener_t, child_updown, bool,
|
||||
enumerator_t *enumerator;
|
||||
child_cfg_t *config;
|
||||
|
||||
if (child_sa->get_cpu(child_sa) != CPU_ID_MAX)
|
||||
{ /* don't call the script for per-CPU SAs */
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
config = child_sa->get_config(child_sa);
|
||||
if (config->get_updown(config))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user