Re: dhcpleased(8): use struct assignment

2021-12-13 Thread Claudio Jeker
On Mon, Dec 13, 2021 at 11:25:02AM +0100, Florian Obser wrote: > Replace struct member assignment with struct assignment to make the code > more compact. No binary change (on amd64). > > OK? Or is there a reason not to do this? Looks good to me and I also see no reason why this should not be

dhcpleased(8): use struct assignment

2021-12-13 Thread Florian Obser
Replace struct member assignment with struct assignment to make the code more compact. No binary change (on amd64). OK? Or is there a reason not to do this? diff --git dhcpleased.c dhcpleased.c index c8cc8e14d04..00bbffc1699 100644 --- dhcpleased.c +++ dhcpleased.c @@ -785,16 +785,14 @@