From 20110ff8f47b0ee82248283224f2b15a5da9c2e8 Mon Sep 17 00:00:00 2001 From: Nick White Date: Mon, 15 Jun 2009 16:32:35 +0100 Subject: Add local patch to fix wireless DHCP --- net-misc/dhcpcd/files/dontmindserverid.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 net-misc/dhcpcd/files/dontmindserverid.patch (limited to 'net-misc/dhcpcd/files') diff --git a/net-misc/dhcpcd/files/dontmindserverid.patch b/net-misc/dhcpcd/files/dontmindserverid.patch new file mode 100644 index 0000000..ecd6751 --- /dev/null +++ b/net-misc/dhcpcd/files/dontmindserverid.patch @@ -0,0 +1,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 -- cgit v1.2.3