]> git.ipfire.org Git - people/ms/rstp.git/blobdiff - brmon.c
Removed portion of brmon.c which received BPDUs through netlink.
[people/ms/rstp.git] / brmon.c
diff --git a/brmon.c b/brmon.c
index 4afe5e19ea678c192c59f1c6ee0f6fababcc1b9d..d29e7f522c841cbcf984a982ea470ada877109b6 100644 (file)
--- a/brmon.c
+++ b/brmon.c
@@ -96,14 +96,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;