summaryrefslogtreecommitdiffstats
path: root/src/openvpn
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvpn')
-rw-r--r--src/openvpn/push.c2
-rw-r--r--src/openvpn/push.h5
2 files changed, 4 insertions, 3 deletions
diff --git a/src/openvpn/push.c b/src/openvpn/push.c
index 704818d..a4cb726 100644
--- a/src/openvpn/push.c
+++ b/src/openvpn/push.c
@@ -410,6 +410,7 @@ push_reset (struct options *o)
}
#endif
+#if P2MP_SERVER
int
process_incoming_push_request (struct context *c)
{
@@ -449,6 +450,7 @@ process_incoming_push_request (struct context *c)
return ret;
}
+#endif
int
process_incoming_push_msg (struct context *c,
diff --git a/src/openvpn/push.h b/src/openvpn/push.h
index 5eca45f..fa06e08 100644
--- a/src/openvpn/push.h
+++ b/src/openvpn/push.h
@@ -37,9 +37,6 @@
#define PUSH_MSG_CONTINUATION 5
#define PUSH_MSG_ALREADY_REPLIED 6
-void incoming_push_message (struct context *c,
- const struct buffer *buffer);
-
int process_incoming_push_request (struct context *c);
int process_incoming_push_msg (struct context *c,
@@ -56,6 +53,8 @@ void server_pushed_signal (struct context *c, const struct buffer *buffer, const
#if P2MP_SERVER
+void incoming_push_message (struct context *c, const struct buffer *buffer);
+
void clone_push_list (struct options *o);
void push_option (struct options *o, const char *opt, int msglevel);