Fix incorrect names in advertisement/discovery

BootServer discovery works even with incorrect names, so they don't
really matter.
This commit is contained in:
Elliot Nunn 2020-10-13 19:46:47 +08:00
parent 02055a4f1d
commit 8207977703
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ bootVars
dcb.l 4, "PWD " ; signature image signature
dcb.b 32 ; userName an array of char, no length byte
dcb.b 8 ; password ditto
dc.w $8888 ; serverNum the server number
dc.w $0000 ; serverNum the server number
dcb.b 8 ; padding to 68b

View File

@ -718,7 +718,7 @@ while 1:
99, # (My) Socket number
0, # (My) Enumerator (i.e. which of many possible names for 99/99 is this?)
) +
pstring(nbp_tuples[0][5]) + pstring('BootServer') + pstring('*')
pstring(nbp_tuples[0][4]) + pstring('BootServer') + pstring('*')
),
(MCAST_ADDR, MCAST_PORT))