swanctl: Implement a load-conn command to load connections from a file
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
sbin_PROGRAMS = swanctl
|
||||
|
||||
conffile = `dirname $(strongswan_conf)`/strongswan.d/swanctl.conf
|
||||
|
||||
swanctl_SOURCES = \
|
||||
command.c command.h \
|
||||
commands/initiate.c \
|
||||
@@ -8,6 +10,7 @@ swanctl_SOURCES = \
|
||||
commands/version.c \
|
||||
commands/list_sas.c \
|
||||
commands/list_pols.c \
|
||||
commands/load_conns.c \
|
||||
swanctl.c
|
||||
|
||||
swanctl_LDADD = \
|
||||
@@ -19,4 +22,5 @@ swanctl.o : $(top_builddir)/config.status
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_srcdir)/src/libstrongswan \
|
||||
-I$(top_srcdir)/src/libcharon/plugins/vici \
|
||||
-DCONF_FILE=\""${conffile}\"" \
|
||||
-DPLUGINS=\""${s_plugins}\""
|
||||
|
||||
Reference in New Issue
Block a user