osmith has uploaded this change for review.

View Change

apn_start: allow kernel GTP with ipv6/ipv4v6

IPv6 support has been implemented in the kernel module.

Related: OS#6096
Change-Id: I3df47b6c209f1e2f8254ba139581d6e622c6b35f
---
M ggsn/ggsn.c
1 file changed, 12 insertions(+), 5 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/97/33797/1
diff --git a/ggsn/ggsn.c b/ggsn/ggsn.c
index 0cde543..539e1f0 100644
--- a/ggsn/ggsn.c
+++ b/ggsn/ggsn.c
@@ -202,11 +202,6 @@
break;
case APN_GTPU_MODE_KERNEL_GTP:
LOGPAPN(LOGL_INFO, apn, "Opening Kernel GTP device %s\n", apn->tun.cfg.dev_name);
- if (apn->cfg.apn_type_mask & (APN_TYPE_IPv6|APN_TYPE_IPv4v6)) {
- LOGPAPN(LOGL_ERROR, apn, "Kernel GTP currently supports only IPv4\n");
- apn_stop(apn);
- return -1;
- }
if (gsn == NULL) {
/* skip bringing up the APN now if the GSN is not initialized yet.
* This happens during initial load of the config file, as the

To view, visit change 33797. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: I3df47b6c209f1e2f8254ba139581d6e622c6b35f
Gerrit-Change-Number: 33797
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-MessageType: newchange