diff options
author | Amir Levy <alevy@codeaurora.org> | 2017-10-29 13:55:38 +0200 |
---|---|---|
committer | Amir Levy <alevy@codeaurora.org> | 2017-10-29 13:55:38 +0200 |
commit | 7b3d0bc8b500d16c290891bbbbfed74e435b32fd (patch) | |
tree | 26afd869cfa4895d514fc646035de9c3b04459e5 /ipacm/src/IPACM_ConntrackListener.cpp | |
parent | 0fe2143973276c0f20cc09888c0218849358c79e (diff) | |
download | ipacfg-mgr-7b3d0bc8b500d16c290891bbbbfed74e435b32fd.tar.gz |
IPACM: Use Metadata replacement feature
Enable Metadata replacement bit in modem uplink filtering rules.
NAT block will replace the metadata of the packets to metadata
that contains the appropriate MUX ID according to the PDN being used.
This Mechanism overrides the MUX ID which is set with
IPA_IOC_WRITE_QMAPID.
Change-Id: If67f21d3e8cc51a7ff11b9e4192e522d2a16c90d
Diffstat (limited to 'ipacm/src/IPACM_ConntrackListener.cpp')
-rw-r--r-- | ipacm/src/IPACM_ConntrackListener.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipacm/src/IPACM_ConntrackListener.cpp b/ipacm/src/IPACM_ConntrackListener.cpp index 4f83b3d..e02ca10 100644 --- a/ipacm/src/IPACM_ConntrackListener.cpp +++ b/ipacm/src/IPACM_ConntrackListener.cpp @@ -1,5 +1,5 @@ /* -Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. +Copyright (c) 2013-2017, The Linux Foundation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -373,7 +373,7 @@ void IPACM_ConntrackListener::TriggerWANUp(void *in_param) if(nat_inst != NULL) { - nat_inst->AddTable(wanup_data->ipv4_addr); + nat_inst->AddTable(wanup_data->ipv4_addr, wanup_data->mux_id); } IPACMDBG("creating nat threads\n"); |