summaryrefslogtreecommitdiff
path: root/vpn/plugins/vpn.h
diff options
context:
space:
mode:
Diffstat (limited to 'vpn/plugins/vpn.h')
-rw-r--r--vpn/plugins/vpn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpn/plugins/vpn.h b/vpn/plugins/vpn.h
index 71e04f61..fd10addf 100644
--- a/vpn/plugins/vpn.h
+++ b/vpn/plugins/vpn.h
@@ -58,7 +58,7 @@ struct vpn_driver {
enum vpn_provider_route_type *type);
};
-int vpn_register(const char *name, struct vpn_driver *driver,
+int vpn_register(const char *name, const struct vpn_driver *driver,
const char *program);
void vpn_unregister(const char *provider_name);
void vpn_died(struct connman_task *task, int exit_code, void *user_data);