summaryrefslogtreecommitdiff
path: root/patches/source/dhcpcd/dhcpcd.dho_optionsoverloaded.dos.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/source/dhcpcd/dhcpcd.dho_optionsoverloaded.dos.patch')
-rw-r--r--patches/source/dhcpcd/dhcpcd.dho_optionsoverloaded.dos.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patches/source/dhcpcd/dhcpcd.dho_optionsoverloaded.dos.patch b/patches/source/dhcpcd/dhcpcd.dho_optionsoverloaded.dos.patch
new file mode 100644
index 00000000..77007cf9
--- /dev/null
+++ b/patches/source/dhcpcd/dhcpcd.dho_optionsoverloaded.dos.patch
@@ -0,0 +1,11 @@
+--- ./dhcp.c.orig 2013-08-02 15:12:22.000000000 -0500
++++ ./dhcp.c 2014-08-01 15:34:23.681955373 -0500
+@@ -345,7 +345,7 @@
+ case DHO_OPTIONSOVERLOADED:
+ /* Ensure we only get this option once */
+ if (!overl)
+- overl = p[1];
++ overl = 0x80 | p[1];
+ break;
+ }
+ l = *p++;