diff options
author | Rob Gulewich <robert.gulewich@joyent.com> | 2011-08-11 01:29:44 +0000 |
---|---|---|
committer | Rob Gulewich <robert.gulewich@joyent.com> | 2011-08-11 01:29:44 +0000 |
commit | 3112e2e77467528e752447d2cd02eddbdc6d28aa (patch) | |
tree | eb1c19e8b9d6d810240d735514f2721bdd939904 | |
parent | 4749e36a8558c47e6db929595211e50bd08346ab (diff) | |
download | illumos-kvm-cmd-3112e2e77467528e752447d2cd02eddbdc6d28aa.tar.gz |
[HVM-484] Add support for DHCP responses from Qemu in SmartOS version of Qemu (logging fix and disable debug)
-rw-r--r-- | net/vnic-dhcp.c | 1 | ||||
-rw-r--r-- | net/vnic-dhcp.h | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/net/vnic-dhcp.c b/net/vnic-dhcp.c index 5a7be69..4573ec9 100644 --- a/net/vnic-dhcp.c +++ b/net/vnic-dhcp.c @@ -278,6 +278,7 @@ debug_eth_frame(const uint8_t *buf_p, size_t size) DPRINTF("ethernet frame: "); #if VNIC_DHCP_HEX_DUMP + DPRINTF("\n"); hex_dump(dfd, buf_p, size); #endif diff --git a/net/vnic-dhcp.h b/net/vnic-dhcp.h index e8d03cb..ab32da7 100644 --- a/net/vnic-dhcp.h +++ b/net/vnic-dhcp.h @@ -29,8 +29,8 @@ #include "qemu-option.h" #define VNIC_BUFFSIZE 65536 -#define VNIC_DHCP_DEBUG 1 -#define VNIC_DHCP_HEX_DUMP 1 +#define VNIC_DHCP_DEBUG 0 +#define VNIC_DHCP_HEX_DUMP 0 typedef struct VNICDHCPState { unsigned int vnds_enabled; |