diff options
author | Ravi Gummadidala <rgummadi@codeaurora.org> | 2014-04-21 19:42:33 -0700 |
---|---|---|
committer | Ravi Gummadidala <rgummadi@codeaurora.org> | 2014-04-22 10:53:51 -0700 |
commit | 1582b87d46cd0ff05fc49a9048b522d3e3776ab1 (patch) | |
tree | 10825d8a02ffd99459d988b30b117c57043a9f14 /ipacm/inc/IPACM_Wan.h | |
parent | 5c36c2f51782ff853226422834c4061be87e0a87 (diff) | |
download | ipacfg-mgr-1582b87d46cd0ff05fc49a9048b522d3e3776ab1.tar.gz |
IPACM: Fix firewall rule IP address order problem
When IPACM install rules on A7 side, it specifies IP address in
host order. But modem expects rules in network order. This fix
changes IP address to network order before sending rules to modem.
Change-Id: I938fde28f6ca9b3d4f13d1cb2e45bb0b7d5681cb
Diffstat (limited to 'ipacm/inc/IPACM_Wan.h')
-rw-r--r-- | ipacm/inc/IPACM_Wan.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ipacm/inc/IPACM_Wan.h b/ipacm/inc/IPACM_Wan.h index f92cc8a..e2b8a98 100644 --- a/ipacm/inc/IPACM_Wan.h +++ b/ipacm/inc/IPACM_Wan.h @@ -157,6 +157,8 @@ private: int install_wan_filtering_rule(); + void change_to_network_order(ipa_ip_type iptype, ipa_rule_attrib* attrib); + int m_fd_ipa; }; |