Add a class lable parameter to idletimer.
Now the idletimer should be setup by this command:
ndc idletimer add <interface> <timeout> <class label>
Class label can be a number or string to identify device type, such as
mobile or wifi. Idletimer will send label in the netd message instead
of the actual interface name.
Change-Id: Ic8b69dc5e38a4436c74723697905643a1214aa2a
diff --git a/ResponseCode.h b/ResponseCode.h
index 5bebb0f..8ae3d91 100644
--- a/ResponseCode.h
+++ b/ResponseCode.h
@@ -72,7 +72,7 @@
static const int ServiceSetHostnameSuccess = 610;
static const int ServiceGetAddrInfoFailed = 611;
static const int ServiceGetAddrInfoSuccess = 612;
- static const int InterfaceActive = 613;
- static const int InterfaceIdle = 614;
+ static const int InterfaceClassActive = 613;
+ static const int InterfaceClassIdle = 614;
};
#endif