mirror of
https://github.com/ipxe/ipxe
synced 2025-12-15 17:12:54 +03:00
Header rearrangement.
I want to get to the point where any header in include/ reflects a standard user-level header (e.g. a POSIX header), while everything that's specific to gPXE lives in include/gpxe/. Headers that reflect a Linux header (e.g. if_ether.h) should also be in include/gpxe/, with the same name as the Linux header and, preferably, the same names used for the definitions.
This commit is contained in:
@@ -54,7 +54,7 @@ static int nmb_resolv ( struct in_addr *addr, const char *name ) {
|
||||
DBG ( "NMB resolving %s\n", name );
|
||||
|
||||
/* Set up the query data */
|
||||
nameserver.sin_addr.s_addr = IP_BROADCAST;
|
||||
nameserver.sin_addr.s_addr = INADDR_BROADCAST;
|
||||
nameserver.sin_port = NBNS_UDP_PORT;
|
||||
memset ( &query, 0, sizeof ( query ) );
|
||||
query.dns.id = htons ( 1 );
|
||||
|
||||
Reference in New Issue
Block a user