pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/35944?usp=email )
Change subject: Create pdp context in the tundev ......................................................................
Create pdp context in the tundev
Use gtp_u_kmod call to create a pdp context in the gtp interface.
Change-Id: I4e0b3fe0e3e156c9a20df0ab8cdfc447fd9bb1eb --- M src/gtp_u_tun.erl 1 file changed, 13 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/erlang/osmo-epdg refs/changes/44/35944/1
diff --git a/src/gtp_u_tun.erl b/src/gtp_u_tun.erl index e08b804..626c9a4 100644 --- a/src/gtp_u_tun.erl +++ b/src/gtp_u_tun.erl @@ -64,7 +64,5 @@ %RemoteTEID = 56768, % TODO: this should be set to TEID obtained from CreateSessionResponse PeerIP = conv:bin_to_ip(PeerAddr), % TODO: IPv6 UEIP = conv:bin_to_ip(EUA#epdg_eua.ipv4), % TODO: IPv6. - ok. - % TODO: This will be enabled once we depend on the gtp_u_kmod module: - %ServRef = get_env_gtp_u_kmod_server_ref(), - %gen_server:call(ServRef, {PeerIP, UEIP, LocalTEID, RemoteTEID}). \ No newline at end of file + ServRef = get_env_gtp_u_kmod_server_ref(), + gen_server:call(ServRef, {PeerIP, UEIP, LocalTEID, RemoteTEID}).