[PATCH 07/14] ifaces.c: rename iface_get_flags() to dev_get_flags()