summaryrefslogtreecommitdiff
path: root/patches/source/dhcpcd/dhcpcd.dho_optionsoverloaded.dos.patch
blob: 77007cf90f55cb845e5dcb2c730fa025fc86bc09 (plain)
1
2
3
4
5
6
7
8
9
10
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++;