diff options
author | marcel <marcel@FreeBSD.org> | 1999-11-12 10:11:48 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 1999-11-12 10:11:48 +0000 |
commit | ecf46de3954a15b8a26c985836876bcb12c5a91b (patch) | |
tree | 47ff59bfd49d50148737c7a2afc711213664236d /libexec/bootpd/bootp.h | |
parent | dc10af68ca843a358a44f3884c2e97a72027b4d8 (diff) | |
download | FreeBSD-src-ecf46de3954a15b8a26c985836876bcb12c5a91b.zip FreeBSD-src-ecf46de3954a15b8a26c985836876bcb12c5a91b.tar.gz |
Fix bootpd for Alpha.
bptypes.h originally defined int32 to be of type long. This obviously
doesn't work on the Alpha. By defining int32 (and u_int32) in terms of
int32_t (and u_int32_t) it now is what it says it should be.
Two occurrences of 'unsigned int32' have been changed to 'u_int32' for
consistency.
Submitted by: Wilko Bulte <wilko@yedi.iaf.nl>
Diffstat (limited to 'libexec/bootpd/bootp.h')
-rw-r--r-- | libexec/bootpd/bootp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/bootpd/bootp.h b/libexec/bootpd/bootp.h index 6ff5680..479dd3b 100644 --- a/libexec/bootpd/bootp.h +++ b/libexec/bootpd/bootp.h @@ -44,7 +44,7 @@ struct bootp { unsigned char bp_htype; /* hardware addr type */ unsigned char bp_hlen; /* hardware addr length */ unsigned char bp_hops; /* gateway hops */ - unsigned int32 bp_xid; /* transaction ID */ + u_int32 bp_xid; /* transaction ID */ unsigned short bp_secs; /* seconds since boot began */ unsigned short bp_flags; /* RFC1532 broadcast, etc. */ struct in_addr bp_ciaddr; /* client IP address */ @@ -133,7 +133,7 @@ struct bootp { struct cmu_vend { char v_magic[4]; /* magic number */ - unsigned int32 v_flags; /* flags/opcodes, etc. */ + u_int32 v_flags; /* flags/opcodes, etc. */ struct in_addr v_smask; /* Subnet mask */ struct in_addr v_dgate; /* Default gateway */ struct in_addr v_dns1, v_dns2; /* Domain name servers */ |