summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/nfs/bootp_subr.c2
-rw-r--r--sys/nfsclient/bootp_subr.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/bootp_subr.c b/sys/nfs/bootp_subr.c
index d580c55..b49fc62 100644
--- a/sys/nfs/bootp_subr.c
+++ b/sys/nfs/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;
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