Handle DHCPnak in REQUESTING state - sdhcp - simple dhcp client | |
git clone git://git.codemadness.org/sdhcp | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit a5616cecc1506731f1ca20ae0d31325f9b0526b4 | |
parent a48cdb438ed91b4fabaf741b9c011ba3d7984883 | |
Author: Michael Forney <[email protected]> | |
Date: Wed, 14 Nov 2018 18:40:37 -0800 | |
Handle DHCPnak in REQUESTING state | |
Diffstat: | |
M sdhcp.c | 2 ++ | |
1 file changed, 2 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/sdhcp.c b/sdhcp.c | |
@@ -378,6 +378,8 @@ Requesting: | |
switch (dhcprecv()) { | |
case DHCPack: | |
goto Bound; | |
+ case DHCPnak: | |
+ goto Init; | |
} | |
} | |
Bound: |