From 824d6ffa7f3d52ce165419356bfe28eaaf36a81b Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 24 Apr 2006 15:42:49 +0000 Subject: 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. --- src/proto/nmb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/proto') diff --git a/src/proto/nmb.c b/src/proto/nmb.c index d44c06850..ee805b175 100644 --- a/src/proto/nmb.c +++ b/src/proto/nmb.c @@ -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 ); -- cgit v1.2.3-55-g7522