[net-config] Refactoring of ethernet cable monitoring. 49/72449/1
authorNiraj Kumar Goit <niraj.g@samsung.com>
Wed, 1 Jun 2016 11:10:44 +0000 (16:40 +0530)
committerNiraj Kumar Goit <niraj.g@samsung.com>
Wed, 1 Jun 2016 11:10:44 +0000 (16:40 +0530)
commit9ce5a6bf4127f9208ec70671fcbd338a0becc8e1
treef736ce05bda47b9a042cbaabdcf4e7ef2bed63ce
parentd841102ab7333e85ae24364df1b895cf85aa0605
[net-config] Refactoring of ethernet cable monitoring.

Description: Check the ethernet cable attached/detached status using
"/sys/class/net/eth0/carrier" instead of ioctl call.

Change-Id: Iebde494f088a1a301970407d628cd85709040885
Signed-off-by: Niraj Kumar Goit <niraj.g@samsung.com>
src/network-monitor.c