Tested Radimus' latest code on my system. This is the result:
quote:

Dhcp NIC number 0
IP :10.198.50.11
GW :10.198.1.1
SM :255.255.0.
NS :10.198.10.1 10.198.10.18
My Gateways are: 10.198.1.1

Note missing 0 on SM.

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.