Procházet zdrojové kódy

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: Remy Bohmer <linux@bohmer.net>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Remy Bohmer před 16 roky
rodič
revize
51dfe1382e
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  1. 3 0
      net/bootp.c

+ 3 - 0
net/bootp.c

@@ -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;