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:
15e2479
)
do not purge interfaces on template load
author
Martin Willi
<martin@strongswan.org>
Tue, 7 Apr 2009 12:59:54 +0000
(12:59 -0000)
committer
Martin Willi
<martin@strongswan.org>
Tue, 7 Apr 2009 12:59:54 +0000
(12:59 -0000)
src/dumm/guest.c
patch
|
blob
|
history
diff --git
a/src/dumm/guest.c
b/src/dumm/guest.c
index
014a911
..
54bc453
100644
(file)
--- a/
src/dumm/guest.c
+++ b/
src/dumm/guest.c
@@
-300,7
+300,6
@@
static bool load_template(private_guest_t *this, char *path)
{
char dir[PATH_MAX];
size_t len;
- iface_t *iface;
if (path == NULL)
{
@@
-324,10
+323,6
@@
static bool load_template(private_guest_t *this, char *path)
{
return FALSE;
}
- while (this->ifaces->remove_last(this->ifaces, (void**)&iface) == SUCCESS)
- {
- iface->destroy(iface);
- }
return TRUE;
}