Skip to content
Commit f0a47d5e authored by Eric S. Raymond's avatar Eric S. Raymond
Browse files

Restructure the peer block to keep the peerctl structure intact.

Members that used to be copied ad hoc from the peer_ctl structure into
separate slots in a new peer structure are now, instead, copied into
a struct peer_ctl that retains their grouping.

This commit does no logic changes.  It is preparation for cleaning up the
logic in newpeer() that does the copies to do the block copy directly.
The ultimate goal is to eliminate friction when defining new struct peer_ctl
members in the configurator.
parent 5489ed5a
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment