add ip address/mask to device list, better logic to find active interface
add ip address/mask to device list, better logic to find active interface

mehrdadrad/mylg,mehrdadrad/mylg,mehrdadrad/mylg,mehrdadrad/mylg