diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2011-05-18 15:48:59 -0700 |
---|---|---|
committer | Stephen Hemminger <shemminger@vyatta.com> | 2011-05-18 15:48:59 -0700 |
commit | 26a8656de086b649de834a80d07fd2b9ddcb593d (patch) | |
tree | d5722cbbdc9086e415ed8b76dbd0542c720c2df5 | |
parent | 4af1be45c4be855c1053a11dd9d631f7d3c7700f (diff) | |
download | rstp-26a8656de086b649de834a80d07fd2b9ddcb593d.tar.gz |
Remove code for passing STP BPDU via netlink
EMC implemented a mechanism of passing BPDU via netlink
that was never accepted in upstream kernel.
-rw-r--r-- | brmon.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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; |