UP/DOWN don't handle IP numbers
Open
Nobody has claimed this yet.
bug
- Dominant language
- Assembly
- Stars
- 954
- Forks
- 97
- PR merge metrics
- No merged PRs in 30d
Description
UP fails when given an IP number:
:up 178.18.91.250
The Host Table appears to be unavailable. Sure it isnt April Fools' day?
The failing code is this:
movei a,tablespace ;page number
movei b,wrkch
pushj p,netwrk"hstmap ;get the host table for hstlook
jrst deadnet
Similar code works fine in FTPU:
MOVEI A,LSTPAG
MOVEI B,0
PUSHJ P,NETWRK"HSTMAP ;Read in HOSTS3 at LSTPAG
.LOSE
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the UP and DOWN command handlers and the shown NETWRK"HSTMAP call. Compare its arguments and table-page handling with the FTPU HSTMAP example, then reproduce :up 178.18.91.250. Done means numeric IP input no longer reports that the Host Table is unavailable, with DOWN covered as well.
Written by the indexing model from the issue text.
Assessment
- Domain
- networking, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100