diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2013-09-03 00:25:14 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2013-09-03 00:25:14 +0900 |
commit | f34861346d5c207912075fba9874090e4c947869 (patch) | |
tree | 83cc2d05800af825a00c7eda6c2c7a83b6d9ab01 /include/sysutils/NetlinkEvent.h | |
parent | 5835ac9e31aea910adb6b9d2de1d63df771df45b (diff) | |
download | system_core-f34861346d5c207912075fba9874090e4c947869.zip system_core-f34861346d5c207912075fba9874090e4c947869.tar.gz system_core-f34861346d5c207912075fba9874090e4c947869.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.
Bug: 10433320
Change-Id: Ibf30efb426949dfd02304cc1d9adb1c005a539a6
Diffstat (limited to 'include/sysutils/NetlinkEvent.h')
-rw-r--r-- | include/sysutils/NetlinkEvent.h | 2 |
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(); |