X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fvnet_nic.c;h=ac484a02264ee6aad0f80ea186142382c1076b27;hb=acdffc5dbc72ac1fdddbf5f1da032cdcdf28abdc;hp=05117e53e2db49e6131c84d7a3b7575aedb92645;hpb=fdb16aa5e99a19a91264ae84beaf77d3036548d5;p=palacios.releases.git diff --git a/palacios/src/devices/vnet_nic.c b/palacios/src/devices/vnet_nic.c index 05117e5..ac484a0 100644 --- a/palacios/src/devices/vnet_nic.c +++ b/palacios/src/devices/vnet_nic.c @@ -19,7 +19,7 @@ */ //backend device for Virtio NIC -#include +#include #include #include #include @@ -28,7 +28,7 @@ #include #include -#ifndef CONFIG_DEBUG_VNET_NIC +#ifndef V3_CONFIG_DEBUG_VNET_NIC #undef PrintDebug #define PrintDebug(fmt, args...) #endif @@ -54,7 +54,7 @@ static int vnet_nic_send(uint8_t * buf, uint32_t len, V3_Net_Print(2, "VNET-NIC: send pkt (size: %d, src_id: %d, src_type: %d)\n", pkt.size, pkt.src_id, pkt.src_type); - if(v3_net_debug >= 4){ + if(net_debug >= 4){ v3_hexdump(buf, len, NULL, 0); }