View | Details | Raw Unified | Return to bug 34322
Collapse All | Expand All

(-)a/dhcp.c (-2 / +1 lines)
Lines 552-558 enum return_type perform_dhcp(struct interface_info * intf) Link Here
552
	messageType = DHCP_TYPE_DISCOVER;
552
	messageType = DHCP_TYPE_DISCOVER;
553
	add_vendor_code(&breq, DHCP_OPTION_TYPE, 1, &messageType);
553
	add_vendor_code(&breq, DHCP_OPTION_TYPE, 1, &messageType);
554
554
555
	memset(&client_addr.sin_addr, 0, sizeof(&client_addr.sin_addr));
555
	memset(&client_addr.sin_addr, 0, sizeof(client_addr.sin_addr));
556
	client_addr.sin_family = AF_INET;
556
	client_addr.sin_family = AF_INET;
557
	client_addr.sin_port = htons(BOOTP_CLIENT_PORT);	/* bootp client */
557
	client_addr.sin_port = htons(BOOTP_CLIENT_PORT);	/* bootp client */
558
558
559
- 

Return to bug 34322