ACK, with two fixes taken from patch 11/14 in that series, namely this
hunk for socket.c:

@@ -2235,12 +2209,14 @@ print_sockaddr_ex (const struct sockaddr *sa,
     case AF_INET6:
       buf_puts (&out, "[AF_INET6]");
       salen = sizeof (struct sockaddr_in6);   
-      addr_is_defined = IN6_IS_ADDR_UNSPECIFIED(&((struct sockaddr_in6*) 
sa)->sin6_addr);
+      addr_is_defined = !IN6_IS_ADDR_UNSPECIFIED(&((struct sockaddr_in6*) 
sa)->sin6_addr);
       break;
+    case AF_UNSPEC:
+      return "[AF_UNSPEC]";
     default:
       ASSERT(0);
     }

Without these fixes, master + 02/14 will build but crash upon startup
trying to print it's local socket address, which will (if not bound) be
"AF_UNSPEC".  If possible, I want each of the individual steps in the
patch set to lead to a working openvpn binary, so we can bisect more 
easily should it become necessary later on.

Patch has been applied to the master branch.

commit d3310d2ea46a71c35313a653c9454fc468cb9c55

Author: Arne Schwabe
List-Post: openvpn-devel@lists.sourceforge.net
Date:   Thu Nov 21 21:08:03 2013 +0100

     Simplify print_sockaddr_ex function, merge duplicate ipv4/ipv6 logic.

     Acked-by: Gert Doering <g...@greenie.muc.de>
     Message-Id: <1385064495-25877-2-git-send-email-a...@rfc2549.org>
     URL: http://article.gmane.org/gmane.network.openvpn.devel/8023
     Signed-off-by: Gert Doering <g...@greenie.muc.de>


--
kind regards,

Gert Doering


Reply via email to