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;
 		}
 	    }