added support for own and parent's nw address