Merge pull request #1649 from CosmosOS/valentinbreiz-patch-2

Remove DHCP release from article
This commit is contained in:
valentinbreiz 2021-01-22 13:10:50 +01:00 committed by GitHub
commit 53b0fad4bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,9 +26,6 @@ using(var xClient = new DHCPClient())
//This will automatically set the IP config after DHCP response
xClient.SendDiscoverPacket();
/** Send a DHCP Release packet **/
xClient.SendReleasePacket(); //will tell the DHCP server to delete the address
xClient.Close(); //don't forget to close!
}
```