mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 22:35:15 +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:
@@ -140,6 +140,9 @@ eth_addr_is_reserved(const struct eth_addr ea)
|
|||||||
return false;
|
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
|
bool
|
||||||
eth_addr_from_string(const char *s, struct eth_addr *ea)
|
eth_addr_from_string(const char *s, struct eth_addr *ea)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user