[ovs-git] [openvswitch/ovs] 5f639b: tnl-arp-cache: fix log error when using tnl/arp/se...

GitHub noreply at github.com
Tue Nov 10 18:01:54 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 5f639b68b5e908267f4cbdef9c20cf97dabd030a
      https://github.com/openvswitch/ovs/commit/5f639b68b5e908267f4cbdef9c20cf97dabd030a
  Author: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
  Date:   2015-11-10 (Tue, 10 Nov 2015)

  Changed paths:
    M lib/tnl-arp-cache.c

  Log Message:
  -----------
  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 <cascardo at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list