fixed to check if network interface is up or not
fixed code format
Merge pull request #165 from HiroyukiMikita/hydro-devel

fixed to check if network interface is up or not