Hi Anton, thanks for catching this. I Holger
> -----Original Message----- > From: Anton Blanchard [mailto:an...@samba.org] > Sent: Friday, November 22, 2013 1:35 AM > To: ipmitool-devel@lists.sourceforge.net > Subject: [Ipmitool-devel] [PATCH 1/4] ipmi_intf_socket_connect fails with > IPv4 hosts > > A recent IPv6 patch broke IPv4 connections. Fix the incorrect conditional to > get it going again. > --- > src/plugins/ipmi_intf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/plugins/ipmi_intf.c b/src/plugins/ipmi_intf.c index > 1ea6fbe..579cf02 100644 > --- a/src/plugins/ipmi_intf.c > +++ b/src/plugins/ipmi_intf.c > @@ -382,7 +382,7 @@ ipmi_intf_socket_connect(struct ipmi_intf * intf) > session->ai_family = AF_UNSPEC; > for (rp = rp0; rp != NULL; rp = rp->ai_next) { > /* We are only interested in IPv4 and IPv6 */ > - if ((rp->ai_family != AF_INET6) && (rp->ai_family == > AF_INET)) > + if ((rp->ai_family != AF_INET6) && (rp->ai_family != > AF_INET)) > continue; > > intf->fd = socket(rp->ai_family, rp->ai_socktype, rp- > >ai_protocol); > -- > 1.8.3.2 > > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up > now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.cl > ktrk > _______________________________________________ > Ipmitool-devel mailing list > Ipmitool-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ipmitool-devel ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ Ipmitool-devel mailing list Ipmitool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipmitool-devel