aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/fs/pxe/dhcp_option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fs/pxe/dhcp_option.c b/core/fs/pxe/dhcp_option.c
index 1fdcc705..8a0dee3b 100644
--- a/core/fs/pxe/dhcp_option.c
+++ b/core/fs/pxe/dhcp_option.c
@@ -183,7 +183,7 @@ void parse_dhcp_options(const void *option, int size, uint8_t opt_filter)
break;
/* Anything else will have a length field */
- opt_len = *p++; /* c <- option lenght */
+ opt_len = *p++; /* c <- option length */
size -= opt_len + 1;
if (size < 0)
break;