summaryrefslogtreecommitdiffstats
path: root/route.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-11-13 09:44:10 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-11-13 09:44:10 +0000
commit5f31881ec189f02297b961c990c471568f25dbde (patch)
tree75d2fa3cb8741730afadf9da2ba2fb03b225eff9 /route.h
parent2c21891ec156adc304f4012343d75808a1036d0f (diff)
downloadopenvpn-5f31881ec189f02297b961c990c471568f25dbde.tar.gz
openvpn-5f31881ec189f02297b961c990c471568f25dbde.tar.xz
openvpn-5f31881ec189f02297b961c990c471568f25dbde.zip
New try at AUTO_USERID.
Implemented AUTO_USERID using MD5(MAC address(primary network adapter)). Currently implemented for Linux and Windows. Basically if ENABLE_AUTO_USERID is defined, the --auth-user-pass option will not prompt for username/password, but will rather generate a unique username and blank password. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@1459 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'route.h')
-rw-r--r--route.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/route.h b/route.h
index fc27a5a..6630fed 100644
--- a/route.h
+++ b/route.h
@@ -150,6 +150,10 @@ void delete_routes (struct route_list *rl,
void setenv_routes (struct env_set *es, const struct route_list *rl);
+#if AUTO_USERID
+bool get_default_gateway_mac_addr (unsigned char *macaddr);
+#endif
+
#ifdef ENABLE_DEBUG
void print_route_options (const struct route_option_list *rol,
int level);