diff options
author | Nick White <git@njw.me.uk> | 2009-06-15 16:32:35 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2009-06-15 16:32:35 +0100 |
commit | 20110ff8f47b0ee82248283224f2b15a5da9c2e8 (patch) | |
tree | 14efad7c467cc0f025b84ba2b85eca527f1ca531 /net-misc/dhcpcd/files | |
parent | f4206a83b58fad970d98fa3603aa2aac3a470d66 (diff) | |
download | njw-gentoo-local-20110ff8f47b0ee82248283224f2b15a5da9c2e8.tar.bz2 njw-gentoo-local-20110ff8f47b0ee82248283224f2b15a5da9c2e8.zip |
Add local patch to fix wireless DHCP
Diffstat (limited to 'net-misc/dhcpcd/files')
-rw-r--r-- | net-misc/dhcpcd/files/dontmindserverid.patch | 14 |
1 files changed, 14 insertions, 0 deletions
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 |