diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-07-26 14:11:26 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-07-26 14:11:26 +0000 |
commit | e76a751b78c0d0397b68675451ded90f1b9fd674 (patch) | |
tree | e900cc52cf93163f80bf13a56b7fb90c23782867 /sbin/dhclient | |
parent | dd01f2ceafefe1148ae83519b7bf3f4b14bd8027 (diff) |
Stray u_int16_t -> uint16_t.
Diffstat (limited to 'sbin/dhclient')
-rw-r--r-- | sbin/dhclient/dhclient.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c index 2060a8f86a8..f3db52e4646 100644 --- a/sbin/dhclient/dhclient.c +++ b/sbin/dhclient/dhclient.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dhclient.c,v 1.483 2017/07/24 18:13:19 krw Exp $ */ +/* $OpenBSD: dhclient.c,v 1.484 2017/07/26 14:11:25 krw Exp $ */ /* * Copyright 2004 Henning Brauer <henning@openbsd.org> @@ -1818,7 +1818,7 @@ lease_as_proposal(struct client_lease *lease) proposal->addrs |= RTA_IFA; opt = &lease->options[DHO_INTERFACE_MTU]; - if (opt->len == sizeof(u_int16_t)) { + if (opt->len == sizeof(uint16_t)) { memcpy(&proposal->mtu, opt->data, sizeof(proposal->mtu)); proposal->mtu = ntohs(proposal->mtu); proposal->inits |= RTV_MTU; |