forked from acouzens/open5gs
IPv6 loopback is tested
This commit is contained in:
parent
c5abd526d6
commit
bd9f1a74a4
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue