Fixed a bug in add_addr() and added option to wait for change of attributes
of a Netdevice object.