aboutsummaryrefslogtreecommitdiffstats
path: root/src/socket.asm
diff options
context:
space:
mode:
authoruser <user@clank>2026-07-17 15:23:03 +0200
committeruser <user@clank>2026-07-17 15:23:03 +0200
commit7f01a9e22f8a19109daf56356a0bb8636af67a84 (patch)
tree8a1dc44046d5e8ae83819c1422154e6f58de3cf0 /src/socket.asm
parentnet: pump the network from the console wait (answer pings at the prompt) (diff)
downloadgbos-7f01a9e22f8a19109daf56356a0bb8636af67a84.tar.gz
gbos-7f01a9e22f8a19109daf56356a0bb8636af67a84.tar.xz
gbos-7f01a9e22f8a19109daf56356a0bb8636af67a84.zip
net: ping resolves hostnames (ping sl0p.foo, not just ping 1.2.3.4)
ping used parse_ip only, so a hostname gave "bad address". It now uses resolve.h (like wget/nslookup): dotted-quad is used as-is, a name is looked up via DNS first. Copies the arg to a safe buffer before resolving (the 0xA000 arg/_DATA overlap dance). Verified through DHCP + NAT: /# ping sl0p.foo PING 80.78.19.56 reply from 80.78.19.56 seq=1 ... -- 4/4 received
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions