mirror of
https://github.com/strongswan/strongswan.git
synced 2025-12-08 00:00:29 -05:00
If we load new features from a plugin, restart loading from first plugin
This commit is contained in:
parent
c9931135d1
commit
40ca363a8b
@ -429,6 +429,10 @@ static int load_features(private_plugin_loader_t *this, bool soft, bool report)
|
||||
}
|
||||
feature++;
|
||||
}
|
||||
if (loaded && !report)
|
||||
{ /* got new feature, restart from beginning of list */
|
||||
break;
|
||||
}
|
||||
}
|
||||
enumerator->destroy(enumerator);
|
||||
return loaded;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user