[ovs-git] [openvswitch/ovs] b4f6e9: smap: bsd: Fix compilation error.

GitHub noreply at github.com
Fri Mar 11 02:53:38 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: b4f6e930523b15bd2bf5e5fa7885761034bd815d
      https://github.com/openvswitch/ovs/commit/b4f6e930523b15bd2bf5e5fa7885761034bd815d
  Author: Pravin B Shelar <pshelar at ovn.org>
  Date:   2016-03-10 (Thu, 10 Mar 2016)

  Changed paths:
    M lib/smap.h

  Log Message:
  -----------
  smap: bsd: Fix compilation error.

I saw following error while testing this series.
---8<---
In file included from lib/smap.c:16:
./lib/smap.h:75:56: warning: declaration of 'struct in6_addr' will not be visible outside of this function [-Wvisibility]
void smap_add_ipv6(struct smap *, const char *, struct in6_addr *);
                                                 ^
lib/smap.c:102:1: error: conflicting types for 'smap_add_ipv6'
smap_add_ipv6(struct smap *smap, const char *key, struct in6_addr *addr)
^
./lib/smap.h:75:6: note: previous declaration is here
void smap_add_ipv6(struct smap *, const char *, struct in6_addr *);

Signed-off-by: Pravin B Shelar <pshelar at ovn.org>
Acked-by: Ben Pfaff <blp at ovn.org>


  Commit: 989d71359984c0853787cc2fd6688e8d060cf30c
      https://github.com/openvswitch/ovs/commit/989d71359984c0853787cc2fd6688e8d060cf30c
  Author: Pravin B Shelar <pshelar at ovn.org>
  Date:   2016-03-10 (Thu, 10 Mar 2016)

  Changed paths:
    M lib/netdev-linux.c
    M lib/rtnetlink.c

  Log Message:
  -----------
  netdev-linux: Fix netdev ipv6 notification

Listen to RTNLGRP_IPV6_IFINFO to get IPv6 address change
notification.

Signed-off-by: Pravin B Shelar <pshelar at ovn.org>
Acked-by: Ben Pfaff <blp at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/0b024e4986ec...989d71359984


More information about the git mailing list