Libnet and ipconfig fixes