summaryrefslogtreecommitdiff
blob: 0d97b7f8275664b2c9c45ee03bdcbef007400096 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- dhcpcd-9.1.1/src/if-options.c
+++ dhcpcd-9.1.1/src/if-options.c
@@ -2367,7 +2367,7 @@
 		}
 		if (buf[buflen - 1] != '\0') {
 			if (buflen < sizeof(buf) - 1)
-				bulen++;
+				buflen++;
 			buf[buflen - 1] = '\0';
 		}
 #else