diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-05-01 23:32:28 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-05-01 23:32:28 +0200 |
commit | 190c40c9fff3eafd23ab89cb445d4f85d29963b0 (patch) | |
tree | a6d3ee36203c112ddeb129ea52fae96c74392683 /rc/lib | |
parent | 8e53fe132efe25437f50974f107be4f1fcbad2ea (diff) | |
download | plan9front-190c40c9fff3eafd23ab89cb445d4f85d29963b0.tar.xz |
ip/ipconfig: populate /net/ndb from v6 router advertisements, configure multiple addresses in ndbconfig()
we now update /net/ndb with the following information gathered
from router advertisements (rfc6106 and plan9 specific options):
- recursive dns servers (option 25, ndb: dns=)
- dns search list (option 31, ndb: dnsdomain=)
- plan9 fileserver (option 250, ndb: fs=)
- plan9 authserver (option 251, ndb: auth=)
note the plan9 specific options can be disabled with the -G flag.
for ndbconfig (-N flag), we now collect all ip addresses in ndb
belonging to the devices mac address and configue them all. v6
addresses are getting added when a link local address exists
or the -6 flag has been specified to automatically configure one.
move the dhcp code in its own dhcp.c file and make symbols static
that are not used across modules.
Diffstat (limited to 'rc/lib')
0 files changed, 0 insertions, 0 deletions