Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tnl-arp-cache: fix log error when using tnl/arp/set with IPv6
lookup_ip will emit an error when used with an IPv6 address, like below. 2015-10-20T18:48:22.357Z|00036|socket_util|ERR|"2001:cafe::92" is not a valid IP address Verify if address looks like IPv6 before giving it to either lookup_ip or lookup_ipv6. Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]> Signed-off-by: Ben Pfaff <[email protected]>
- Loading branch information