ClusterLabs/resource-agents — pull request #365 by MichiroHibari (2013-12-12 07:21:17+00:00)
Title: ldirectord : Fix ldirectord failed to start,sockaddr_in6 redefined error.

ldirectord failed to start, with following error:
\-------------
Subroutine main::pack_sockaddr_in6 redefined at /usr/share/perl5/Exporter.pm line 66.
at /usr/sbin/ldirectord.org line 838.
Subroutine main::unpack_sockaddr_in6 redefined at /usr/share/perl5/Exporter.pm line 66.
at /usr/sbin/ldirectord.org line 838.
Subroutine main::sockaddr_in6 redefined at /usr/share/perl5/Exporter.pm line 66.
at /usr/sbin/ldirectord.org line 838.
...snip...
\-------------

Perl Socket module(probably version 1.91 or more)
implement Socket::pack_sockaddr_in6() and unpack_sockaddr_in6().
So Socket and Socket6 module functions conflict.

This commit arrange import function, in order to solve a conflict.