Mercurial > hg > dhcpcd
changeset 2175:a04514e74245 draft
Fix comment about termination correctness.
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Fri, 29 Nov 2013 18:23:39 +0000 |
| parents | 23b079b3fba6 |
| children | 0898283fc09a |
| files | dhcp-common.c |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/dhcp-common.c Fri Nov 29 17:38:44 2013 +0000 +++ b/dhcp-common.c Fri Nov 29 18:23:39 2013 +0000 @@ -168,8 +168,8 @@ while (q - p < pl) { r = NULL; hops = 0; - /* We check we are inside our length again incase - * the data is NOT terminated correctly. */ + /* Check we are inside our length again in-case + * the name isn't fully qualified (ie, not terminated) */ while (q - p < pl && (l = *q++)) { ltype = l & 0xc0; if (ltype == 0x80 || ltype == 0x40)
