IPACM: fix the index issue of incorrect modem UL filtering rule

When backhaul is switched from USB cradle to modem, IPACM does
not receive "route del" event of previous backhaul so it will
internally push "route del" event, which comes earlier than the
new address event of LAN interface, causing some problem in
IPACM filtering rule index maintenance logic. We add a check to
ignore the "route del" event if current wan-instance didn't
work in that ip-type.

Change-Id: I99c4e6c180218cb66c4e96a48d798a9ebaf00535
2 files changed
tree: 951fffca40d71eef848d7d91a25e799ff52b2ee7
  1. ipacm/
  2. ipanat/
  3. configure.ac
  4. Makefile.am