mirror of
https://github.com/dschmenk/PLASMA.git
synced 2025-01-10 06:30:41 +00:00
Add DNS access
This commit is contained in:
parent
52a42da1c6
commit
531f286c5a
@ -25,6 +25,8 @@ struc t_inet
|
|||||||
word closeTCP
|
word closeTCP
|
||||||
word setInterfaceIP
|
word setInterfaceIP
|
||||||
word getInterfaceHA
|
word getInterfaceHA
|
||||||
|
word setDNS
|
||||||
|
word getDNS
|
||||||
end
|
end
|
||||||
//
|
//
|
||||||
// Needed to init subnet
|
// Needed to init subnet
|
||||||
@ -248,4 +250,4 @@ iNet:closeUDP(portDHCP)
|
|||||||
iNet:setInterfaceIP(@localip, @localnet, @localgw)
|
iNet:setInterfaceIP(@localip, @localnet, @localgw)
|
||||||
puts(@boundstr);putip(@localip);putc('/');putip(@localnet);putln
|
puts(@boundstr);putip(@localip);putc('/');putip(@localnet);putln
|
||||||
|
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user