1. Return 0 if failing to get ip from network interfaces. 2. Fix the bug that misses "%s" in printing network interface. 3. More error checking.
1. Return 0 if failing to get ip from network interfaces. 2. Fix the bug that misses "%s" in printing network interface. 3. More error checking.

glglwty/rDSN,Microsoft/rDSN,mcfatealan/rDSN,mcfatealan/rDSN,lshmouse/rDSN,ykwd/rDSN,Microsoft/rDSN,goksyli/rDSN,ykwd/rDSN,Microsoft/rDSN,qinzuoyan/rDSN,qinzuoyan/rDSN,lshmouse/rDSN,qinzuoyan/rDSN,imzhenyu/rDSN,glglwty/rDSN,shengofsun/rDSN,lshmouse/rDSN,qinzuoyan/rDSN,lshmouse/rDSN,shengofsun/rDSN,Microsoft/rDSN,mcfatealan/rDSN,shengofsun/rDSN,lshmouse/rDSN,pandaworrior/rDSN,pandaworrior/rDSN,pandaworrior/rDSN,pandaworrior/rDSN,Microsoft/rDSN,shengofsun/rDSN,Microsoft/rDSN,shengofsun/rDSN,qinzuoyan/rDSN,ykwd/rDSN,imzhenyu/rDSN,goksyli/rDSN,imzhenyu/rDSN,lshmouse/rDSN,qinzuoyan/rDSN,imzhenyu/rDSN,mcfatealan/rDSN,lshmouse/rDSN,goksyli/rDSN,glglwty/rDSN,Microsoft/rDSN,qinzuoyan/rDSN,imzhenyu/rDSN,pandaworrior/rDSN,shengofsun/rDSN,ykwd/rDSN,qinzuoyan/rDSN,goksyli/rDSN,shengofsun/rDSN,glglwty/rDSN,Microsoft/rDSN,lshmouse/rDSN,imzhenyu/rDSN,shengofsun/rDSN,imzhenyu/rDSN,ykwd/rDSN,glglwty/rDSN,imzhenyu/rDSN