--- upstream/dynamips-0.2.5/dev_am79c971.c 2007/10/06 16:01:44 1 +++ upstream/dynamips-0.2.6-RC3/dev_am79c971.c 2007/10/06 16:06:49 4 @@ -202,10 +202,6 @@ { n_eth_hdr_t *hdr = (n_eth_hdr_t *)pkt; - /* Ignore traffic sent by us */ - if (!memcmp(&d->mac_addr,&hdr->saddr,N_ETH_ALEN)) - return(FALSE); - /* Accept systematically frames if we are running is promiscuous mode */ if (d->csr[15] & AM79C971_CSR15_PROM) return(TRUE); @@ -702,7 +698,6 @@ rxd0.rmd[1] |= AM79C971_RMD1_STP; physmem_copy_u32_to_vm(d->vm,rx_start+4,rxd0.rmd[1]); - /* Generate RX interrupt */ d->csr[0] |= AM79C971_CSR0_RINT; am79c971_update_intr_flag(d); am79c971_trigger_irq(d); @@ -1012,7 +1007,7 @@ /* Bind a NIO to an AMD Am79c971 device */ int dev_am79c971_set_nio(struct am79c971_data *d,netio_desc_t *nio) -{ +{ /* check that a NIO is not already bound */ if (d->nio != NULL) return(-1);