提交 51dfe138 编写于 作者: R Remy Bohmer 提交者: Ben Warren

Fix bogus error message in the DHCP handler

The DHCP handler has 1 state that is not listed in this case, causing a
failure message when there is actually no failure.
Signed-off-by: NRemy Bohmer <linux@bohmer.net>
Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
上级 61365501
......@@ -969,6 +969,9 @@ DhcpHandler(uchar * pkt, unsigned dest, unsigned src, unsigned len)
return;
}
break;
case BOUND:
/* DHCP client bound to address */
break;
default:
puts ("DHCP: INVALID STATE\n");
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册