strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c993113
)
If we load new features from a plugin, restart loading from first plugin
author
Martin Willi
<martin@revosec.ch>
Thu, 3 May 2012 09:08:09 +0000
(11:08 +0200)
committer
Martin Willi
<martin@revosec.ch>
Thu, 3 May 2012 09:08:09 +0000
(11:08 +0200)
src/libstrongswan/plugins/plugin_loader.c
patch
|
blob
|
history
diff --git
a/src/libstrongswan/plugins/plugin_loader.c
b/src/libstrongswan/plugins/plugin_loader.c
index
94ef00b
..
c1a929b
100644
(file)
--- a/
src/libstrongswan/plugins/plugin_loader.c
+++ b/
src/libstrongswan/plugins/plugin_loader.c
@@
-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;