]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
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 43897c304ff1f252d5af4572994f284b9759908b..9b692588db2eef3c3521a1d461e452cac5fb0fa5 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;