apply is_anyaddr fix from socket also to socket-raw
authorMartin Willi <martin@strongswan.org>
Wed, 3 Jun 2009 15:56:55 +0000 (17:56 +0200)
committerMartin Willi <martin@strongswan.org>
Wed, 3 Jun 2009 15:56:55 +0000 (17:56 +0200)
src/charon/network/socket-raw.c

index 8056f00..148be48 100644 (file)
@@ -372,7 +372,7 @@ status_t sender(private_socket_t *this, packet_t *packet)
        msg.msg_iovlen = 1;
        msg.msg_flags = 0;
        
-       if (!dst->is_anyaddr(dst))
+       if (!src->is_anyaddr(src))
        {
                if (family == AF_INET)
                {