moved interface enumeration code to socket, where it belongs
query interfaces every time we need it to respect changes in network config added address listing on startup and "ipsec statusall"
This commit is contained in:
@@ -32,7 +32,6 @@
|
||||
#include <threads/thread_pool.h>
|
||||
#include <threads/stroke_interface.h>
|
||||
#include <network/socket.h>
|
||||
#include <network/interfaces.h>
|
||||
#include <sa/ike_sa_manager.h>
|
||||
#include <queues/send_queue.h>
|
||||
#include <queues/job_queue.h>
|
||||
@@ -277,11 +276,6 @@ struct daemon_t {
|
||||
*/
|
||||
socket_t *socket;
|
||||
|
||||
/**
|
||||
* A interfaces_t instance.
|
||||
*/
|
||||
interfaces_t *interfaces;
|
||||
|
||||
/**
|
||||
* A send_queue_t instance.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user