X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Frtl8139.c;h=9d4e7c785561f059ff4efed80111d1d7372077f8;hp=aadfcead307c11fd58fd32da7ed40bc6a125c448;hb=2282a040e60b24d3fb7c48bb197c5bff6636df67;hpb=9f0767d0d4beb2282db360126cfc15ace453ef32 diff --git a/palacios/src/devices/rtl8139.c b/palacios/src/devices/rtl8139.c index aadfcea..9d4e7c7 100644 --- a/palacios/src/devices/rtl8139.c +++ b/palacios/src/devices/rtl8139.c @@ -956,6 +956,8 @@ static int rx_one_pkt(struct rtl8139_state * nic_state, uint32_t header, val; uint8_t bcast_addr[6] = { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }; + header = 0; + if (regs->rcr & AcceptAllPhys) { PrintDebug(VM_NONE, VCORE_NONE, "RTL8139: packet received in promiscuous mode\n"); } else {