IPv6 loopback is tested

This commit is contained in:
Sukchan Lee 2017-12-14 06:23:23 +00:00
parent c5abd526d6
commit bd9f1a74a4
2 changed files with 2 additions and 2 deletions

View File

@ -1076,7 +1076,7 @@ pgw_bearer_t* pgw_bearer_find_by_packet(pkbuf_t *pkt)
iph = (struct ip *)pkt->payload;
/* FIXME : Only support IPV4 */
if (iph->ip_v != 4) /* IPv4 */
if (iph->ip_v != 4 && iph->ip_v != 6) /* IPv4 */
{
return NULL;
}

View File

@ -311,7 +311,7 @@ static void attach_test1(abts_case *tc, void *data)
pkbuf_free(recvbuf);
#if LINUX == 1
rv = testgtpu_enb_send("cafe::1", "cafe::1");
rv = testgtpu_enb_send("cafe::2", "cafe::1");
ABTS_INT_EQUAL(tc, CORE_OK, rv);
#if 0