]> git.ipfire.org Git - thirdparty/lldpd.git/blobdiff - src/daemon/interfaces.c
interfaces: move bitmaps function to a dedicated file
[thirdparty/lldpd.git] / src / daemon / interfaces.c
index 9f74eeeeca275da595998693e921703bc2f2a4b3..3351679af4170a30ace8de2ad52651f40e3a5b07 100644 (file)
@@ -329,7 +329,7 @@ interfaces_helper_vlan(struct lldpd *cfg,
        struct interfaces_device *iface;
 
        TAILQ_FOREACH(iface, interfaces, next) {
-               if (!(iface->type & IFACE_VLAN_T) && is_bitmap_empty(iface->vlan_bmap))
+               if (!(iface->type & IFACE_VLAN_T) && bitmap_isempty(iface->vlan_bmap))
                        continue;
 
                /* We need to find the physical interfaces of this