mode-config: Remove useless assignment
authorTobias Brunner <tobias@strongswan.org>
Mon, 17 Sep 2018 14:02:24 +0000 (16:02 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 17 Sep 2018 16:51:41 +0000 (18:51 +0200)
src/libcharon/sa/ikev1/tasks/mode_config.c

index 43897c3..9b69258 100644 (file)
@@ -583,7 +583,6 @@ static status_t build_ack(private_mode_config_t *this, message_t *message)
        enumerator = this->vips->create_enumerator(this->vips);
        while (enumerator->enumerate(enumerator, &host))
        {
-               type = INTERNAL_IP6_ADDRESS;
                if (host->get_family(host) == AF_INET6)
                {
                        type = INTERNAL_IP6_ADDRESS;