+ DBGC ( dhcp, "DHCP %p %s", dhcp, dhcp_msgtype_name ( msgtype ) );
+ if ( server.s_addr )
+ DBGC ( dhcp, " to %s", inet_ntoa ( server ) );
+ if ( meta.dest ) {
+ if ( dest.sin_addr.s_addr == server.s_addr ) {
+ DBGC ( dhcp, ":%d (unicast)",
+ ntohs ( dest.sin_port ) );
+ } else {
+ DBGC ( dhcp, " via %s:%d", inet_ntoa ( dest.sin_addr ),
+ ntohs ( dest.sin_port ) );
+ }
+ } else {
+ DBGC ( dhcp, " (broadcast)" );
+ }
+ if ( requested_ip.s_addr )
+ DBGC ( dhcp, " for %s", inet_ntoa ( requested_ip ) );
+ if ( menu_item.type )
+ DBGC ( dhcp, " for item %04x", ntohs ( menu_item.type ) );
+ DBGC ( dhcp, "\n" );
+