diff options
Diffstat (limited to 'net/net.c')
-rw-r--r-- | net/net.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -576,9 +576,6 @@ NetReceive(uchar * inpkt, int len) /* save address for later use */ memcpy(NetArpWaitPacketMAC, &arp->ar_data[0], 6); -#ifdef CONFIG_NETCONSOLE - (*packetHandler)(0,0,0,0); -#endif /* modify header, and transmit it */ memcpy(((Ethernet_t *)NetArpWaitTxPacket)->et_dest, NetArpWaitPacketMAC, 6); (void) eth_send(NetArpWaitTxPacket, NetArpWaitTxPacketSize); @@ -737,13 +734,6 @@ NetReceive(uchar * inpkt, int len) } } #endif - -#ifdef CONFIG_NETCONSOLE - nc_input_packet((uchar *)ip +IP_HDR_SIZE, - ntohs(ip->udp_dst), - ntohs(ip->udp_src), - ntohs(ip->udp_len) - 8); -#endif /* * IP header OK. Pass the packet to the current handler. */ |