summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/openvpn/options.c16
-rw-r--r--src/openvpn/options.h3
2 files changed, 0 insertions, 19 deletions
diff --git a/src/openvpn/options.c b/src/openvpn/options.c
index 4ee2f31..08f9cb2 100644
--- a/src/openvpn/options.c
+++ b/src/openvpn/options.c
@@ -1050,22 +1050,6 @@ string_substitute (const char *src, int from, int to, struct gc_arena *gc)
return ret;
}
-bool
-is_persist_option (const struct options *o)
-{
- return o->persist_tun
- || o->persist_key
- || o->persist_local_ip
- || o->persist_remote_ip
- ;
-}
-
-bool
-is_stateful_restart (const struct options *o)
-{
- return is_persist_option (o) || connection_list_defined (o);
-}
-
#ifdef ENABLE_SSL
static uint8_t *
parse_hash_fingerprint(const char *str, int nbytes, int msglevel, struct gc_arena *gc)
diff --git a/src/openvpn/options.h b/src/openvpn/options.h
index 1be3dfa..cc3e47a 100644
--- a/src/openvpn/options.h
+++ b/src/openvpn/options.h
@@ -749,9 +749,6 @@ bool apply_push_options (struct options *options,
unsigned int *option_types_found,
struct env_set *es);
-bool is_persist_option (const struct options *o);
-bool is_stateful_restart (const struct options *o);
-
void options_detach (struct options *o);
void options_server_import (struct options *o,