summaryrefslogtreecommitdiffstats
path: root/libexec/bootpd/getether.c
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2016-04-13 02:04:09 +0000
committergjb <gjb@FreeBSD.org>2016-04-13 02:04:09 +0000
commitcad5e8d3bce52708ae6b253a4427d56b4befd46c (patch)
tree92bbcf5b84bdd150282eaf6ec82e328e0e517eca /libexec/bootpd/getether.c
parent2d6ac6ea572ca93a1ff4e32936214246cc9b2551 (diff)
parent5c3b3f706fae5bed563c4681b89e06b1a2860417 (diff)
downloadFreeBSD-src-cad5e8d3bce52708ae6b253a4427d56b4befd46c.zip
FreeBSD-src-cad5e8d3bce52708ae6b253a4427d56b4befd46c.tar.gz
MFH
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'libexec/bootpd/getether.c')
-rw-r--r--libexec/bootpd/getether.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/bootpd/getether.c b/libexec/bootpd/getether.c
index e4dc1b6..56b7c8e 100644
--- a/libexec/bootpd/getether.c
+++ b/libexec/bootpd/getether.c
@@ -124,10 +124,10 @@ getether(ifname, eap)
char *eap; /* Ether address (output) */
{
int fd, rc = -1;
- register int n;
+ int n;
struct ifreq ibuf[16];
struct ifconf ifc;
- register struct ifreq *ifrp, *ifend;
+ struct ifreq *ifrp, *ifend;
/* Fetch the interface configuration */
fd = socket(AF_INET, SOCK_DGRAM, 0);
OpenPOWER on IntegriCloud