commit | ffa3d7d6a201d01fc6551837e9e1b5643919bf5d | [log] [tgz] |
---|---|---|
author | Simon Kelley <simon@thekelleys.org.uk> | Mon Feb 04 21:35:43 2013 +0000 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Mon Feb 04 21:35:43 2013 +0000 |
tree | a3e2ea2d95fbc9f6b37e7cac24094aea18aab0da | |
parent | aa67fe7a8cd2b8bf1b0ee8f3e4c5513f03f25ebd [diff] [blame] |
Copy-and-paste error
diff --git a/src/rfc2131.c b/src/rfc2131.c index 145bff6..bbd4001 100644 --- a/src/rfc2131.c +++ b/src/rfc2131.c
@@ -1739,7 +1739,7 @@ if (overload[2] & 2) { p = dhcp_skip_opts(mess->sname); - if (p + len + 3 >= mess->sname + sizeof(mess->file)) + if (p + len + 3 >= mess->sname + sizeof(mess->sname)) p = NULL; } }