mirror of
https://github.com/strongswan/strongswan.git
synced 2025-12-09 00:00:27 -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++;
|
feature++;
|
||||||
}
|
}
|
||||||
|
if (loaded && !report)
|
||||||
|
{ /* got new feature, restart from beginning of list */
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
enumerator->destroy(enumerator);
|
enumerator->destroy(enumerator);
|
||||||
return loaded;
|
return loaded;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user