diff -ru nagios-plugins-1.4.3.orig/plugins-root/check_dhcp.c nagios-plugins-1.4.3/plugins-root/check_dhcp.c --- nagios-plugins-1.4.3.orig/plugins-root/check_dhcp.c 2005-09-21 12:06:37.000000000 +0200 +++ nagios-plugins-1.4.3/plugins-root/check_dhcp.c 2006-05-21 15:40:27.000000000 +0200 @@ -192,7 +192,11 @@ unsigned char client_hardware_address[MAX_DHCP_CHADDR_LENGTH]=""; +#if IFNAMSIZ > 8 +char network_interface_name[IFNAMSIZ]="eth0"; +#else char network_interface_name[8]="eth0"; +#endif u_int32_t packet_xid=0;