aboutsummaryrefslogtreecommitdiffstats
path: root/sgsnemu/sgsnemu.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-08-02 21:48:16 +0200
committerHarald Welte <laforge@gnumonks.org>2017-08-09 22:09:34 +0200
commita0d281db1cd2f122fb8f0adfd9e4a82e60efbd2f (patch)
tree613095b3ce11731d6cf757df5cee0c36ec3c0f2b /sgsnemu/sgsnemu.c
parent53165ede24b106326d3762232435e0a28c10e1bb (diff)
IPv6 support for user IP
This patch enables the use of IPv6 PDP contexts. The phone will have to request an IPv6 End-user-Address, and the GGSN will have to be configured for an IPv6 pool. The outer transport-layer IP between SGSN and GGSN must still be IPv4, it is not modified by this patch Change-Id: I22c3bf32a98e5daf99d6eaeac8c9f95cc7574774
Diffstat (limited to 'sgsnemu/sgsnemu.c')
-rw-r--r--sgsnemu/sgsnemu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sgsnemu/sgsnemu.c b/sgsnemu/sgsnemu.c
index af8f9fa..8c9cfd3 100644
--- a/sgsnemu/sgsnemu.c
+++ b/sgsnemu/sgsnemu.c
@@ -1329,7 +1329,7 @@ int create_pdp_conf(struct pdp_t *pdp, void *cbp, int cause)
return EOF; /* Not what we expected */
}
- if (pdp_euaton(&pdp->eua, &addr.v4)) {
+ if (in46a_from_eua(&pdp->eua, &addr)) {
printf
("Received create PDP context response. Cause value: %d\n",
cause);