X-Git-Url: http://git.ipfire.org/?p=people%2Fms%2Frstp.git;a=blobdiff_plain;f=brmon.c;fp=brmon.c;h=d29e7f522c841cbcf984a982ea470ada877109b6;hp=4afe5e19ea678c192c59f1c6ee0f6fababcc1b9d;hb=741d86705c844713da06a1d648810bb963777363;hpb=3cf368c157572231ec16ff1eb949ca2abfdeb326 diff --git a/brmon.c b/brmon.c index 4afe5e1..d29e7f5 100644 --- 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;