aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2006-09-25 06:12:22 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2006-09-25 06:12:22 +0000
commit8af7042e3b092d960b9543f7be703635d7a12533 (patch)
tree82a976d7948561970cc833210c341b7284a2f0c3 /src
parent7bd23b7ed5ef8c8a65eada18b4fa4fb97b4fa00e (diff)
downloadstrongswan-8af7042e3b092d960b9543f7be703635d7a12533.tar.bz2
strongswan-8af7042e3b092d960b9543f7be703635d7a12533.tar.xz
added hostaccess support
Diffstat (limited to 'src')
-rw-r--r--src/stroke/stroke.c2
-rw-r--r--src/stroke/stroke.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/stroke/stroke.c b/src/stroke/stroke.c
index 6ca07a8e5..0d688207c 100644
--- a/src/stroke/stroke.c
+++ b/src/stroke/stroke.c
@@ -126,6 +126,7 @@ static int add_connection(char *name,
msg.add_conn.me.cert = NULL;
msg.add_conn.me.ca = NULL;
msg.add_conn.me.sendcert = 1;
+ msg.add_conn.me.hostaccess = FALSE;
msg.add_conn.me.protocol = 0;
msg.add_conn.me.port = 0;
@@ -136,6 +137,7 @@ static int add_connection(char *name,
msg.add_conn.other.cert = NULL;
msg.add_conn.other.ca = NULL;
msg.add_conn.other.sendcert = 1;
+ msg.add_conn.other.hostaccess = FALSE;
msg.add_conn.other.protocol = 0;
msg.add_conn.other.port = 0;
diff --git a/src/stroke/stroke.h b/src/stroke/stroke.h
index 0c475ecdb..3383f27ac 100644
--- a/src/stroke/stroke.h
+++ b/src/stroke/stroke.h
@@ -82,6 +82,7 @@ struct stroke_end_t {
char *subnet;
int subnet_mask;
int sendcert;
+ bool hostaccess;
u_int8_t protocol;
u_int16_t port;
};