diff options
author | Michael Brown | 2006-04-24 17:42:49 +0200 |
---|---|---|
committer | Michael Brown | 2006-04-24 17:42:49 +0200 |
commit | 824d6ffa7f3d52ce165419356bfe28eaaf36a81b (patch) | |
tree | c00a6a1cf46de5248259afd51fe64147e4b311d0 /src/proto | |
parent | Network API now allows for multiple network devices (although the (diff) | |
download | ipxe-824d6ffa7f3d52ce165419356bfe28eaaf36a81b.tar.gz ipxe-824d6ffa7f3d52ce165419356bfe28eaaf36a81b.tar.xz ipxe-824d6ffa7f3d52ce165419356bfe28eaaf36a81b.zip |
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.
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/nmb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/nmb.c b/src/proto/nmb.c index d44c0685..ee805b17 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 ); |