summaryrefslogtreecommitdiff
path: root/net-misc/dhcpcd/files/dontmindserverid.patch
blob: ecd675114e705ebf3178563f4ff1d56f58be9e12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- client.c	2009-04-17 20:20:40.000000000 +0100
+++ client.c.new	2009-06-15 16:22:24.621453203 +0100
@@ -1392,11 +1392,6 @@ handle_dhcp(struct if_state *state, stru
 		logger(LOG_ERR, "ignoring message; no DHCP type");
 		return 0;
 	}
-	/* Every DHCP message should include ServerID */
-	if (get_option_addr(&addr.s_addr, dhcp, DHO_SERVERID) == -1) {
-		logger(LOG_ERR, "ignoring message; no Server ID");
-		return 0;
-	}
 
 	/* Ensure that it's not from a blacklisted server.
 	 * We should expand this to check IP and/or hardware address