diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-09-19 20:12:43 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-09-19 20:12:43 +0000 |
commit | 6e2c457d5964e9a6efea0c21e3b1ff862df4060c (patch) | |
tree | 815f17d1c5920951df10e467f8608e9504780bff /socket.h | |
parent | Patched Makefile.am so that the new t_cltsrv-down.sh script becomes (diff) | |
download | openvpn-6e2c457d5964e9a6efea0c21e3b1ff862df4060c.tar.xz |
Fixed --lladdr bug introduced in 2.1-rc9 where input validation code
was incorrectly expecting the lladdr parameter to be an IP address
when it is actually a MAC address (HoverHell).
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3339 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r-- | socket.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -400,6 +400,7 @@ int openvpn_inet_aton (const char *dotted_quad, struct in_addr *addr); /* integrity validation on pulled options */ bool ip_addr_dotted_quad_safe (const char *dotted_quad); bool ip_or_dns_addr_safe (const char *addr, const bool allow_fqdn); +bool mac_addr_safe (const char *mac_addr); socket_descriptor_t create_socket_tcp (void); |