diff options
author | pst <pst@FreeBSD.org> | 1996-01-23 01:35:04 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1996-01-23 01:35:04 +0000 |
commit | accc2aa38fbbf04568a6d3941e897dc34aee7930 (patch) | |
tree | 9d4d2f644df6a63fbb148e0952fdf7f3ae9aebf5 /libexec/bootpd/dovend.c | |
parent | 6b42e1664561f04b1d3f497ecd5ccad48fd8c3b4 (diff) | |
download | FreeBSD-src-accc2aa38fbbf04568a6d3941e897dc34aee7930.zip FreeBSD-src-accc2aa38fbbf04568a6d3941e897dc34aee7930.tar.gz |
Import bootpd-2.4.3 from ftp.mc.com
Diffstat (limited to 'libexec/bootpd/dovend.c')
-rw-r--r-- | libexec/bootpd/dovend.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libexec/bootpd/dovend.c b/libexec/bootpd/dovend.c index ba6ab28..e46ae9e 100644 --- a/libexec/bootpd/dovend.c +++ b/libexec/bootpd/dovend.c @@ -56,7 +56,6 @@ dovend_rfc1497(hp, buf, len) { int bytesleft = len; byte *vp = buf; - char *tmpstr; static char noroom[] = "%s: No room for \"%s\" option"; #define NEED(LEN, MSG) do \ @@ -220,7 +219,7 @@ dovend_rfc1497(hp, buf, len) * Not enough room for full (domain-qualified) hostname, try * stripping it down to just the first field (host). */ - tmpstr = hp->hostname->string; + char *tmpstr = hp->hostname->string; len = 0; while (*tmpstr && (*tmpstr != '.')) { tmpstr++; |