CVSROOT:        /cvs
Module name:    src
Changes by:     ren...@cvs.openbsd.org  2016/05/23 12:28:22

Modified files:
        usr.sbin/ldpd  : adjacency.c hello.c interface.c kroute.c lde.c 
                         lde_lib.c ldpd.c neighbor.c parse.y pfkey.c 

Log message:
Copy structs by assignment instead of memcpy.

Copying by straight assignment is shorter, easier to read and has a
higher level of abstraction. We'll only avoid it when copying from an
unaligned source (e.g., network buffers).

In addition, copy in_addr structs directly.

Reply via email to