fix detecting local ip from ip command #3834 Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>