summaryrefslogtreecommitdiffstats
path: root/sys/lib/libsa/bootp.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-06-01 17:00:26 +0000
committerderaadt <deraadt@openbsd.org>2003-06-01 17:00:26 +0000
commit1ee9984c4f4397b4e37dd231ed72dcab53ea0dff (patch)
treeeac83456bbe224ca5a01b23024644072301555e9 /sys/lib/libsa/bootp.c
parentsync (diff)
downloadwireguard-openbsd-1ee9984c4f4397b4e37dd231ed72dcab53ea0dff.tar.xz
wireguard-openbsd-1ee9984c4f4397b4e37dd231ed72dcab53ea0dff.zip
strcpy/strcat/sprintf removal in all bootblocks. various testing by
various people. outside of some messy things in src/gnu, only one thing in the main tree now violates this rule: bind
Diffstat (limited to 'sys/lib/libsa/bootp.c')
-rw-r--r--sys/lib/libsa/bootp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/lib/libsa/bootp.c b/sys/lib/libsa/bootp.c
index 1de33af08b6..5e1eaeed887 100644
--- a/sys/lib/libsa/bootp.c
+++ b/sys/lib/libsa/bootp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bootp.c,v 1.9 2002/03/14 01:27:07 millert Exp $ */
+/* $OpenBSD: bootp.c,v 1.10 2003/06/01 17:00:32 deraadt Exp $ */
/* $NetBSD: bootp.c,v 1.10 1996/10/13 02:28:59 christos Exp $ */
/*
@@ -80,18 +80,18 @@ bootp(sock)
} rbuf;
#ifdef BOOTP_DEBUG
- if (debug)
+ if (debug)
printf("bootp: socket=%d\n", sock);
#endif
if (!bot)
bot = getsecs();
-
+
if (!(d = socktodesc(sock))) {
printf("bootp: bad socket. %d\n", sock);
return;
}
#ifdef BOOTP_DEBUG
- if (debug)
+ if (debug)
printf("bootp: d=%x\n", (u_int)d);
#endif