diff options
author | Martin Willi <martin@strongswan.org> | 2009-04-07 12:59:54 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2009-04-07 12:59:54 +0000 |
commit | 5ec7ff5675056cfe65ddcf6785738ebfe3de3241 (patch) | |
tree | edb0f2f31cbf9791cf3f752d3ccdaf5660dc5243 /src | |
parent | 15e247922d02738035a22412edcca17915e1b30b (diff) | |
download | strongswan-5ec7ff5675056cfe65ddcf6785738ebfe3de3241.tar.bz2 strongswan-5ec7ff5675056cfe65ddcf6785738ebfe3de3241.tar.xz |
do not purge interfaces on template load
Diffstat (limited to 'src')
-rw-r--r-- | src/dumm/guest.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/dumm/guest.c b/src/dumm/guest.c index 014a9113f..54bc453e7 100644 --- 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; } |