]> git.ipfire.org Git - thirdparty/lldpd.git/blobdiff - src/lldpd.c
core: SMART_HIDDEN macro does not really need the configuration
[thirdparty/lldpd.git] / src / lldpd.c
index 6f592d61e35a584433be0e5fb038651fba3edc0b..7f99d9ff55a9827264424b6b3e8cb75890f49232 100644 (file)
@@ -898,8 +898,7 @@ lldpd_send_all(struct lldpd *cfg)
                        TAILQ_FOREACH(port, &hardware->h_rports, p_entries) {
                                /* If this remote port is disabled, we don't
                                 * consider it */
-                               if (port->p_hidden_out &&
-                                   (cfg->g_smart & SMART_OUTGOING_FILTER))
+                               if (port->p_hidden_out)
                                        continue;
                                if (port->p_protocol ==
                                    cfg->g_protocols[i].mode) {