- if (bcmp((caddr_t)ifxp->ifw_addr,
- (caddr_t)etherbroadcastaddr,
- sizeof(etherbroadcastaddr)) == 0)
- qeread(sc, &ifxp->ifrw, len);
+ if (bcmp((caddr_t)((struct ether_header *)ifxp->ifw_addr)->ether_dhost,
+ (caddr_t)etherbroadcastaddr,
+ sizeof(etherbroadcastaddr)) == 0)
+ qeread(sc, &ifxp->ifrw,
+ len - sizeof(struct ether_header));