summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/bootp_subr.c
diff options
context:
space:
mode:
authorps <ps@FreeBSD.org>2000-06-13 09:32:09 +0000
committerps <ps@FreeBSD.org>2000-06-13 09:32:09 +0000
commit34013c402048cf682465c4427b7a53f1d83d6929 (patch)
tree804321999a904de4543e6fe1677ee6da33decf24 /sys/nfsclient/bootp_subr.c
parentdba64e78dce3c311cc00033f8c0af84575139b1e (diff)
downloadFreeBSD-src-34013c402048cf682465c4427b7a53f1d83d6929.zip
FreeBSD-src-34013c402048cf682465c4427b7a53f1d83d6929.tar.gz
Correctly set the Maximum DHCP Message Size. bootpd now works
again as well as ISC dhcpd.
Diffstat (limited to 'sys/nfsclient/bootp_subr.c')
-rw-r--r--sys/nfsclient/bootp_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfsclient/bootp_subr.c b/sys/nfsclient/bootp_subr.c
index d580c55..b49fc62 100644
--- a/sys/nfsclient/bootp_subr.c
+++ b/sys/nfsclient/bootp_subr.c
@@ -847,8 +847,8 @@ bootpc_init(void)
*/
call.vend[j++]=57;
call.vend[j++]=2;
- call.vend[j++]=(1200) % 256;
call.vend[j++]=(1200) / 256;
+ call.vend[j++]=(1200) % 256;
call.vend[j++]=255;
OpenPOWER on IntegriCloud