summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNiraj Kumar Goit <niraj.g@samsung.com>2016-06-14 18:12:33 +0530
committerNiraj Kumar Goit <niraj.g@samsung.com>2016-06-14 18:12:33 +0530
commit2ba57348d65eea4956b9cf13c2fcce0292944e80 (patch)
tree0079be649a55209025ef04895d826de81ed21cdb /include
parentdf976843d429e47179ecd8f8e7535a34013ea25f (diff)
downloadconnman-2ba57348d65eea4956b9cf13c2fcce0292944e80.tar.gz
connman-2ba57348d65eea4956b9cf13c2fcce0292944e80.tar.bz2
connman-2ba57348d65eea4956b9cf13c2fcce0292944e80.zip
[SPIN] network: enable DHCP failure.
When DHCP is failed, most of normal users cannot understand auto-generated IP (IPV4 link local). So set error CONNMAN_NETWORK_ERROR_DHCP_FAIL. Change-Id: Ic80eb0436e41cff3a4bfb11dfef722b3029b0399 Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
Diffstat (limited to 'include')
-rwxr-xr-xinclude/network.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/network.h b/include/network.h
index db25ae02..a095b525 100755
--- a/include/network.h
+++ b/include/network.h
@@ -55,6 +55,9 @@ enum connman_network_error {
CONNMAN_NETWORK_ERROR_CONFIGURE_FAIL = 2,
CONNMAN_NETWORK_ERROR_INVALID_KEY = 3,
CONNMAN_NETWORK_ERROR_CONNECT_FAIL = 4,
+#if defined TIZEN_EXT
+ CONNMAN_NETWORK_ERROR_DHCP_FAIL = 5,
+#endif
};
#define CONNMAN_NETWORK_PRIORITY_LOW -100