In a program request packet during the second and third stage of an

Ultrix/mips MOP boot, the "software" packet is 256 bytes - bump the
size of the program array (maximum for the VAX must only be 16 bytes).
This commit is contained in:
simonb
1999-08-17 12:38:09 +00:00
parent 07414356ac
commit 2142b1e053

View File

@@ -1,4 +1,4 @@
/* $NetBSD: dl.c,v 1.3 1997/10/16 23:24:31 lukem Exp $ */
/* $NetBSD: dl.c,v 1.4 1999/08/17 12:38:09 simonb Exp $ */
/*
* Copyright (c) 1993-95 Mats O Jansson. All rights reserved.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: dl.c,v 1.3 1997/10/16 23:24:31 lukem Exp $");
__RCSID("$NetBSD: dl.c,v 1.4 1999/08/17 12:38:09 simonb Exp $");
#endif
#include "os.h"
@@ -48,7 +48,7 @@ mopDumpDL(fd, pkt, trans)
{
int i,index = 0;
u_int32_t tmpl;
u_char tmpc,c,program[17],code,*ucp;
u_char tmpc,c,program[257],code,*ucp;
u_short len,tmps,moplen;
len = mopGetLength(pkt, trans);