Don't complain about multiple TS in IKEv1, as it supported with Unity
authorMartin Willi <martin@revosec.ch>
Thu, 13 Sep 2012 13:57:39 +0000 (15:57 +0200)
committerMartin Willi <martin@revosec.ch>
Tue, 18 Sep 2012 15:17:48 +0000 (17:17 +0200)
src/libcharon/sa/ikev1/tasks/quick_mode.c

index b0f9fa1..82a7238 100644 (file)
@@ -460,11 +460,6 @@ static traffic_selector_t* select_ts(private_quick_mode_t *this, bool local,
        hosts->destroy(hosts);
        if (list->get_first(list, (void**)&ts) == SUCCESS)
        {
-               if (this->initiator && list->get_count(list) > 1)
-               {
-                       DBG1(DBG_IKE, "configuration has more than one %s traffic selector,"
-                                " using first only", local ? "local" : "remote");
-               }
                ts = ts->clone(ts);
        }
        else