2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +00:00

packets: Improve comment on eth_addr_from_string().

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Ryan Moats <rmoats@us.ibm.com>
This commit is contained in:
Ben Pfaff
2016-07-20 16:44:55 -07:00
parent 83cb88d595
commit ed4c95c061

View File

@@ -140,6 +140,9 @@ eth_addr_is_reserved(const struct eth_addr ea)
return false;
}
/* Attempts to parse 's' as an Ethernet address. If successful, stores the
* address in 'ea' and returns true, otherwise zeros 'ea' and returns
* false. */
bool
eth_addr_from_string(const char *s, struct eth_addr *ea)
{