summaryrefslogtreecommitdiff
path: root/ipacm/src/IPACM_Netlink.cpp
diff options
context:
space:
mode:
authorRavi Gummadidala <rgummadi@codeaurora.org>2013-03-25 23:26:53 -0700
committerRavi Gummadidala <rgummadi@codeaurora.org>2013-03-25 23:29:10 -0700
commit67ae799fffc5551bbe502f9527936e38e8e8d4da (patch)
treef5d8f88fefa0dbdab58e1c4e8922a2603e06234e /ipacm/src/IPACM_Netlink.cpp
parentc10fd7a426914cb27867b663b9ba3015ebd55545 (diff)
downloadipacfg-mgr-67ae799fffc5551bbe502f9527936e38e8e8d4da.tar.gz
This fix includes:
(1) Support if wlan/lan/wan iface if no rx-property registered, IPACM won.t setup the filtering rules and not delete them. (2) Fix ipv6 default route issues: originally we listen for .ip -6 route add default dev rmnet1 metric 1024 ., but it never comes. So we change to listen.Route ADD ::/0 Next Hop: fe80:0000:0000:0000:3013:d30f:9025:6704,metric 1024, dev rmnet1. Somehow the second one comes multiple time, now I add error-checking to avoid set duplicate rules Change-Id: If63b22a9836a50ee8660e447330efee8fd247ec6
Diffstat (limited to 'ipacm/src/IPACM_Netlink.cpp')
-rw-r--r--ipacm/src/IPACM_Netlink.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/ipacm/src/IPACM_Netlink.cpp b/ipacm/src/IPACM_Netlink.cpp
index 896511d..c2536a3 100644
--- a/ipacm/src/IPACM_Netlink.cpp
+++ b/ipacm/src/IPACM_Netlink.cpp
@@ -1077,7 +1077,6 @@ static int ipa_nl_decode_nlmsg
IPACM_EvtDispatcher::PostEvt(&evt_data);
/* finish command queue */
}
-#if 1
if(msg_ptr->nl_route_info.attr_info.param_mask & IPA_RTA_PARAM_GATEWAY)
{
IPACMDBG("Route ADD ::/0 Next Hop: %04x:%04x:%04x:%04x:%04x:%04x:%04x:%04x, metric %d, dev %s\n",
@@ -1126,7 +1125,6 @@ static int ipa_nl_decode_nlmsg
IPACM_EvtDispatcher::PostEvt(&evt_data);
/* finish command queue */
}
-#endif
}
break;