From 0159e2d07b2934d3229b9510f0ab5ba9c6711617 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Fri, 17 Dec 2010 15:52:02 +0100 Subject: openvpn: Add pushed routes We should add the routing entries pushed by the OpenVPN server. --- include/provider.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/provider.h') diff --git a/include/provider.h b/include/provider.h index dde37fba..569d47ff 100644 --- a/include/provider.h +++ b/include/provider.h @@ -83,6 +83,10 @@ void connman_provider_set_dns(struct connman_provider *provider, void connman_provider_set_domain(struct connman_provider *provider, const char *domain); +int connman_provider_append_route(struct connman_provider *provider, + const char *host, const char *netmask, + const char *gateway); + const char *connman_provider_get_driver_name(struct connman_provider *provider); struct connman_provider_driver { -- cgit v1.2.3