diff options
author | Kevin Steves <stevesk@cvs.openbsd.org> | 2006-12-28 01:32:11 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@cvs.openbsd.org> | 2006-12-28 01:32:11 +0000 |
commit | 58236cdba179c22d89bc3310c113a5fb6206d482 (patch) | |
tree | 59e1b0900303f0d6cbe37dcfc6d98b11aa178004 /sbin | |
parent | 55b6c6054c083527b35ac7884868d7efe3192813 (diff) |
parenthesis not needed here; consistent with usage in other areas.
no binary change.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/dhclient/dhclient.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c index efc4f0dad17..f825adbfc25 100644 --- a/sbin/dhclient/dhclient.c +++ b/sbin/dhclient/dhclient.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dhclient.c,v 1.98 2006/12/28 01:10:46 stevesk Exp $ */ +/* $OpenBSD: dhclient.c,v 1.99 2006/12/28 01:32:10 stevesk Exp $ */ /* * Copyright 2004 Henning Brauer <henning@openbsd.org> @@ -1384,10 +1384,10 @@ make_discover(struct client_lease *lease) client->packet.secs = 0; /* filled in by send_discover. */ client->packet.flags = 0; - memset(&(client->packet.ciaddr), 0, sizeof(client->packet.ciaddr)); - memset(&(client->packet.yiaddr), 0, sizeof(client->packet.yiaddr)); - memset(&(client->packet.siaddr), 0, sizeof(client->packet.siaddr)); - memset(&(client->packet.giaddr), 0, sizeof(client->packet.giaddr)); + memset(&client->packet.ciaddr, 0, sizeof(client->packet.ciaddr)); + memset(&client->packet.yiaddr, 0, sizeof(client->packet.yiaddr)); + memset(&client->packet.siaddr, 0, sizeof(client->packet.siaddr)); + memset(&client->packet.giaddr, 0, sizeof(client->packet.giaddr)); memcpy(client->packet.chaddr, ifi->hw_address.haddr, ifi->hw_address.hlen); } |