summaryrefslogtreecommitdiffstats
path: root/include/sysutils
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2013-09-03 00:25:14 +0900
committerLorenzo Colitti <lorenzo@google.com>2013-11-20 10:29:42 +0900
commit526b838c9d647e8767fac957c53133153c3cf909 (patch)
tree3607245eb76bcf88e31cb7b8414caa710aaba49d /include/sysutils
parent96834569343f38dc006492fccdf6dad68521b005 (diff)
downloadsystem_core-526b838c9d647e8767fac957c53133153c3cf909.zip
system_core-526b838c9d647e8767fac957c53133153c3cf909.tar.gz
system_core-526b838c9d647e8767fac957c53133153c3cf909.tar.bz2
Switch back to subsystem "net" for netlink events.
The change to enable address tracking via netlink incorrectly changed the subsystem of rtnetlink events from "net" to "interface". This broke interface add/delete notifications, which come from the kernel with subsystem "net". Switch back to "net" and deal with address tracking via new action codes instead of a new subsystem. [Cherry-pick of f34861346d5c207912075fba9874090e4c947869] Bug: 10433320 Change-Id: Ibf30efb426949dfd02304cc1d9adb1c005a539a6
Diffstat (limited to 'include/sysutils')
-rw-r--r--include/sysutils/NetlinkEvent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sysutils/NetlinkEvent.h b/include/sysutils/NetlinkEvent.h
index 2a734cb..f3501cf 100644
--- a/include/sysutils/NetlinkEvent.h
+++ b/include/sysutils/NetlinkEvent.h
@@ -34,6 +34,8 @@ public:
const static int NlActionChange;
const static int NlActionLinkDown;
const static int NlActionLinkUp;
+ const static int NlActionAddressUpdated;
+ const static int NlActionAddressRemoved;
NetlinkEvent();
virtual ~NetlinkEvent();