]> git.ipfire.org Git - people/ms/rstp.git/blobdiff - brmon.c
Remove code for passing STP BPDU via netlink
[people/ms/rstp.git] / brmon.c
diff --git a/brmon.c b/brmon.c
index fb54be3d4d71072af09ce62f0f1e122684e2c323..f1fb44d3594349533080c8cc9cc391d1868a0cbf 100644 (file)
--- a/brmon.c
+++ b/brmon.c
@@ -88,14 +88,6 @@ static int dump_msg(const struct sockaddr_nl *who, struct nlmsghdr *n,
         if (tb[IFLA_MASTER] && af_family != AF_BRIDGE)
           return 0;
 
-        /* Check for BPDU */
-        if (tb[IFLA_PRIORITY] && af_family == AF_BRIDGE) {
-          bridge_bpdu_rcv(ifi->ifi_index,
-                   RTA_DATA(tb[IFLA_PRIORITY]),
-                   RTA_PAYLOAD(tb[IFLA_PRIORITY]));
-          return 0;
-        }
-
        if (tb[IFLA_IFNAME] == NULL) {
                fprintf(stderr, "BUG: nil ifname\n");
                return -1;