logg("Error: Could not set broadcast option on DHCP socket!"); return -1; } // bind socket to interface strncpy(interface.ifr_ifrn.ifrn_name, interface_name, IFNAMSIZ-1); if(setsockopt(sock,SOL_SOCKET, SO_BINDTODEVICE, (char *)&interface, sizeof(interface)) < 0) { logg("Error:...