Ryan, good catch on hostname. you were right, I documented the *wrong* format. Apparently googles' answer to 'klibc ipconfig' was wrong: https://kernel.googlesource.com/pub/scm/libs/klibc/klibc/+/klibc-0.130/ipconfig/README There it is documented: addr:server:gateway:netmask:interface:proto
But Ubuntu's version: https://git.launchpad.net/ubuntu/+source/klibc/tree/usr/kinit/ipconfig/README.ipconfig documents (and uses): <client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf>
So my code was right, but doc was wrong. They're fixed now.
« Back to merge proposal
Ryan, /kernel. googlesource. com/pub/ scm/libs/ klibc/klibc/ +/klibc- 0.130/ipconfig/ README server: gateway: netmask: interface: proto
good catch on hostname.
you were right, I documented the *wrong* format.
Apparently googles' answer to 'klibc ipconfig' was wrong:
https:/
There it is documented:
addr:
But Ubuntu's version: /git.launchpad. net/ubuntu/ +source/ klibc/tree/ usr/kinit/ ipconfig/ README. ipconfig ip>:<server- ip>:<gw- ip>:<netmask> :<hostname> :<device> :<autoconf>
https:/
documents (and uses):
<client-
So my code was right, but doc was wrong. They're fixed now.