From 6e2c457d5964e9a6efea0c21e3b1ff862df4060c Mon Sep 17 00:00:00 2001 From: james Date: Fri, 19 Sep 2008 20:12:43 +0000 Subject: 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 --- socket.h | 1 + 1 file changed, 1 insertion(+) (limited to 'socket.h') diff --git a/socket.h b/socket.h index f6ec570..980322d 100644 --- a/socket.h +++ b/socket.h @@ -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); -- cgit