changed default ipv6 prefix to 2001:db8:cafe:: (#1321)

to be compliant with RFC3849
This commit is contained in:
Julian Lemmerich 2022-01-14 03:50:27 +01:00 committed by GitHub
parent ea6675879c
commit f75e51ca46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 87 additions and 87 deletions

View file

@ -417,13 +417,13 @@ static void test8_func(abts_case *tc, void *data)
rv = ogs_ipsubnet(&ipsub, "172.16.0.1", "16");
ABTS_INT_EQUAL(tc, OGS_OK, rv);
rv = ogs_ipsubnet(&ipsub, "2001:230:cafe::1", "64");
rv = ogs_ipsubnet(&ipsub, "2001:db8:cafe::1", "64");
ABTS_INT_EQUAL(tc, OGS_OK, rv);
rv = ogs_ipsubnet(&ipsub, "172.16.0.1", NULL);
ABTS_INT_EQUAL(tc, OGS_OK, rv);
rv = ogs_ipsubnet(&ipsub, "2001:230:cafe::1", NULL);
rv = ogs_ipsubnet(&ipsub, "2001:db8:cafe::1", NULL);
ABTS_INT_EQUAL(tc, OGS_OK, rv);
}